StreamSubscriber<T> class
abstract
Defines the expected type for a receiver of results streamed by the server.
T
The type of the items being sent by the server.
Constructors
- StreamSubscriber.new({void onnext(T value)?, void onerror(dynamic error)?, void oncomplete()?})
-
factory
Properties
Methods
-
complete(
) → void - Called by the framework when the end of the stream is reached.
-
error(
Object error) → void - Called by the framework when an error has occurred.
-
next(
T value) → void - Called by the framework when a new item is available.
-
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