getEnvironmentVariable method

String? getEnvironmentVariable(
  1. String key
)

Retrieves the value of an environment variable

Implementation

String? getEnvironmentVariable(String key) {
  // First check our local copy, then fall back to Platform.environment
  return _environmentVariables[key] ?? Platform.environment[key];
}