getEnvironment static method

String? getEnvironment(
  1. String key, [
  2. String? defaultValue
])

Implementation

static String? getEnvironment(String key, [String? defaultValue]) {
  return Platform.environment[key] ?? defaultValue;
}