getOrFail method
Returns the value of the key or throws an exception if not found.
Implementation
@override
String getOrFail(String key) {
final value = _env[key];
if (value == null) {
throw Exception('Environment variable "$key" is not set.');
}
return value;
}