DefaultEnvPlugin class
final
Methods
-
all()
→ Map<String, String>
-
Returns a map of all environment variables.
override
-
clear()
→ dynamic
-
Clears all the environment variables.
override
-
dispose()
→ Future<void>
-
override
-
get(String key, {String? fallback})
→ String
-
Returns the value of the environment variable specified by
key
, or the fallback
value if not found.
override
-
init()
→ Future<void>
-
override
-
maybeGet(String key, {String? fallback})
→ String?
-
Returns the value of the environment variable specified by
key
,
or the fallback
value if not found, or null if neither is found.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited