IIndexedNodeActions class abstract

Inheritance
Implementers

Constructors

IIndexedNodeActions()

Properties

first IndexedNode
Get the first child in the list
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
last IndexedNode
Get the last child in the list
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(covariant INode value) → void
Add a child value node to the this node
inherited
addAll(covariant Iterable<INode> iterable) → void
Add a collection of Iterable nodes to this node
inherited
at(int index) IndexedNode
Returns the child node at the index
clear() → void
Clear all the child nodes from this node. this node will not have children after this operation.
inherited
delete() → void
Delete this node
inherited
firstWhere(bool test(IndexedNode element), {IndexedNode orElse()?}) IndexedNode
Get the first child node that matches the criterion in the test. An optional orElse function can be provided to handle the test is not able to find any node that matches the provided criterion.
indexWhere(bool test(IndexedNode element), [int start = 0]) int
Get the index of the first child node that matches the criterion in the test. An optional start index can be provided to ignore any nodes before the index start
insert(int index, IndexedNode element) → void
Insert an element in the children list at index
insertAfter(IndexedNode after, IndexedNode element) int
Insert an element in the children list after the node after
insertAll(int index, Iterable<IndexedNode> iterable) → void
Insert a collection of Iterable nodes in the children list at index
insertBefore(IndexedNode before, IndexedNode element) int
Insert an element in the children list before the node before
lastWhere(bool test(IndexedNode element), {IndexedNode orElse()?}) IndexedNode
Get the last child node that matches the criterion in the test. An optional orElse function can be provided to handle the test is not able to find any node that matches the provided criterion.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(covariant INode value) → void
Remove a child value node from the this node
inherited
removeAll(covariant Iterable<INode> iterable) → void
Remove all the Iterable nodes from this node
inherited
removeAt(int index) IndexedNode
Remove the child node at the index
removeWhere(bool test(INode element)) → void
Remove all the child nodes from this node that match the criterion in the given test
inherited
toString() String
A string representation of this object.
inherited

Operators

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