VariableCollection class
Implements a variables list.
- Implemented types
Constructors
Properties
Methods
-
add(
IVariable? variable) → void -
Adds a new variable to the collection.
override
-
clear(
) → void -
Clears the collection.
override
-
clearValues(
) → void -
Clears all stored variables (assigns null values).
override
-
findByName(
String name) → IVariable? -
Finds variable in the list by it's name.
override
-
findIndexByName(
String name) → int -
Finds variable index in the list by it's name.
override
-
get(
int index) → IVariable -
Get a variable by its index.
override
-
getAll(
) → List< IVariable> -
Get all variables stores in the collection
Returns a list with variables.
override
-
locate(
String name) → IVariable -
Finds variable in the list or create a new one if variable was not found.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
int index) → void -
Removes a variable by its index.
override
-
removeByName(
String name) → void -
Removes variable by it's name.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited