iteratorBackwards property
Iterator<T>
get
iteratorBackwards
Gets an object that you can use for iterating over the List in backwards order. The key will be an integer from count-1 to zero. The value will be the item at that index in the list. The list is not modified by traversing in reverse order. Typical usage:
var it = aList.iteratorBackwards;
while (it.next()) {
. . . 'key: ' + it.key + ' value: ' + it.value . . .
}
Implementation
_i3.Iterator<T> get iteratorBackwards => _i4.getProperty(
this,
'iteratorBackwards',
);
set
iteratorBackwards
(Iterator<T> value)
Implementation
set iteratorBackwards(_i3.Iterator<T> value) {
_i4.setProperty(
this,
'iteratorBackwards',
value,
);
}