FunctionCollection class

Implements a functions list.

Implemented types
Implementers

Constructors

FunctionCollection()

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Gets a number of functions stored in the collection. Returns a number of stored functions.
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(IFunction? func) → void
Adds a new function to the collection.
override
clear() → void
Clears the collection.
override
findByName(String name) IFunction?
Finds function in the list by it's name.
override
findIndexByName(String name) int
Finds function index in the list by it's name.
override
get(int index) IFunction
Get a function by its index.
override
getAll() List<IFunction>
Get all functions stores in the collection Returns a list with functions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(int index) → void
Removes a function by its index.
override
removeByName(String name) → void
Removes function by it's name.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited