AsyncSequenceLoop class

An async sequence loop, from i to limit (exclusive).

Constructors

AsyncSequenceLoop(int init, int limit, FutureOr<bool> body(int i))
Constructor.

Properties

body FutureOr<bool> Function(int i)
The for body/block.
final
hashCode int
The hash code for this object.
no setterinherited
i int
The for cursor.
getter/setter pair
limit int
The i limit (exclusive) for the sequence.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() FutureOr<int>
toString() String
A string representation of this object.
inherited

Operators

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