Iterator$Typings<T> extension
Properties
-
all
↔ bool Function(bool (T))
-
getter/setter pair
-
any
↔ bool Function(bool (T))
-
getter/setter pair
-
count
→ num
-
This read-only property is the total number of items in the iterated collection.
no setter
-
each
↔ void Function(void (T))
-
getter/setter pair
-
filter
↔ Iterator<T> Function(bool (T))
-
getter/setter pair
-
first
↔ T? Function()
-
getter/setter pair
-
hasNext
↔ bool Function()
-
getter/setter pair
-
iterator
↔ Iterator<T>
-
Returns itself, which is convenient for code that expects an Iterable
instead of an Iterator.
@return {Iterator.
getter/setter pair
-
key
→ dynamic
-
Gets the current index to the item in the collection, assuming #next has just returned true.
no setter
-
map
↔ Iterator<S> Function<S>(S (T))
-
getter/setter pair
-
next
↔ bool Function()
-
getter/setter pair
-
reset
↔ void Function()
-
getter/setter pair
-
value
→ T
-
Gets the current item in the collection, assuming #next has just returned true.
no setter