Implementation
@override
String get value {
if (bool.hasEnvironment(name)) {
return String.fromEnvironment(name);
} else if (Platform.environment.containsKey(name)) {
return Platform.environment[name]!;
}
throw StateError('Env var $name is not set');
}