VariableName class

The VariableName identifies the Variable and corresponds with the keys in the VariableMap map.

The VariableName:

  • are case sensitive
  • must start with a lower case letter, optionally followed by (lower or upper) letters and or digits.
  • conventions: use lowerCamelCase
  • must be unique and does not match a other Tag syntax

Variables can be nested. Concatenate VariableNames separated with dot's to get the VariableValue of a nested Variable.

E.g.:
Variable map: {'person': {'name': 'John Doe', 'age',30}}
Variable Name person.name: refers to the variable value of 'John Doe'

Constructors

VariableName.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

nameParser → Parser<String>
final
namePathParser → Parser<List>
final

Static Methods

validateName(String name) → void
validateNamePath(String namePath) → void