getEnv static method
Implementation
static String getEnv(String key, {String? defaultValue}) {
final value = env[key] ?? defaultValue;
if (value == null) {
throw MySQLException('Did not find the $key environment variable');
}
return value;
}