EnvPlugin class abstract
An abstract class representing an environment plugin. It provides methods to interact with environment variables.
- Inheritance
- Implementers
Constructors
Properties
Methods
-
all(
) → Map< String, String?> - Returns a map of all environment variables.
-
clear(
) → dynamic - Clears all the environment variables.
-
dispose(
) → Future< void> -
inherited
-
get(
String key, {String? fallback}) → String -
Returns the value of the environment variable specified by
key
, or thefallback
value if not found. -
init(
) → Future< void> -
inherited
-
maybeGet(
String key, {String? fallback}) → String? -
Returns the value of the environment variable specified by
key
, or thefallback
value if not found, or null if neither is found. -
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