Subject<T> class
Stream implementation to stream items to the server.
- Implemented types
-
- Stream<
T>
- Stream<
Constructors
Properties
-
cancelCallback
↔ Future<
void> Function()? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
observers
↔ List<
StreamSubscriber< T> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
complete(
) → void -
error(
Object err) → void -
next(
T item) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe(
StreamSubscriber< T> observer) → Subscription<T> -
Attaches a StreamSubscriber, which will be invoked when new items are available from the stream.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited