ConfigService class
A service that provides access to environment variables.
Constructors
- ConfigService.new(DotEnv _dotEnv)
Properties
Methods
-
getOrNull(
String key) → String? -
Get the value of an environment variable or return
null
if it is not set. -
getOrThrow(
String key) → String - Get the value of an environment variable or throw an exception if it is not set.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited