DeclaredVariables class

An object used to provide access to the values of variables that have been defined on the command line using the -D option.

Clients may not extend, implement or mix-in this class.

Constructors

DeclaredVariables()
Initialize a newly created set of declared variables in which there are no variables.
DeclaredVariables.fromMap(Map<String, String> variableMap)
Initialize a newly created set of declared variables to define variables whose names are the keys in the give variableMap and whose values are the corresponding values from the map.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variableNames → Iterable<String>
Return the names of the variables for which a value has been defined.
no setter

Methods

get(String name) → String?
Return the raw string value of the variable with the given name, or null if the variable is not defined.
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