VariablesResolver class
Will hold a bunch of variables and provide tools for obtaining them
Constructors
- VariablesResolver([Map? initialVars])
Properties
- getAll → Map
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
recasingsShorthands
→ Map<
String, String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAll(
Map vars) → void -
get(
dynamic request) → dynamic -
Returns the requested variable following the maps parents structure
if so indicated through list of it names, or
null
if it's not defined. It also converts to a recased string if so demanded. e.g.: varName_cc -> varName.camelCase varName_pascalCase -> varName.pascalCase -
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
-
operator [](
dynamic key) → dynamic -
operator []=(
dynamic keys, dynamic value) → void