punti_zOriginal post
Rank 3: Container
Using appwrite version 1.4.4 and running through the documentation and sample function I am not clear how this now works
It used to be "req.variables['VARIABLE_NAME']"
Now I see
process.env. VARIABLE_NAME
Platform.environment['VARIABLE_NAME'] ??
Summary
The user is asking how to access environment variables in functions using Dart SDK. They mention trying to use "platform" but it wasn't recognized and will try again later. The user is using appwrite version 1.4.4 and is unsure how to access environment variables with the new version. The old way was "req.variables['VARIABLE_NAME']" but now it seems to be "process.env.VARIABLE_NAME" or "Platform.environment['VARIABLE_NAME']".