BallGenerator class

Wrapper for generator results in the synchronous interpreter.

sync* functions collect yielded values into a BallGenerator, which is returned as a list of values.

Inheritance

Constructors

BallGenerator()

Properties

completed bool
Whether this generator has completed.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<Object?>
The yielded values.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
yield_(Object? value) → void
Add a yielded value.
yieldAll(Iterable<Object?> items) → void
Add all values from an iterable (yield*).

Operators

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