StreamIteratorMixin<T> mixin

class MyStreamIterator with StreamIteratorMixin<T> implements StreamIterator<T> { 
  // Must override 
  @override 
  StreamIterator get streamIterator;
  ...
}
Implemented types

Properties

current → T
The current value of the stream.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamIterator StreamIterator<T>
no setter

Methods

cancel() Future
Cancels the stream iterator (and the underlying stream subscription) early.
override
moveNext() Future<bool>
Wait for the next stream value to be available.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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