SubSink class

A class that manages a list of StreamSubscription objects.

The SubSink class provides a way to add, set, and cancel StreamSubscription objects.

Constructors

SubSink()

Properties

hashCode int
The hash code for this object.
no setterinherited
length → dynamic
The number of StreamSubscription objects in the list managed by this SubSink.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink StreamSubscription
Sets the StreamSubscription object for this SubSink. This is equivalent to calling add with the given sub parameter.
no getter

Methods

add(StreamSubscription sub) → void
Adds a StreamSubscription object to the list managed by this SubSink.
cancel() → void
Cancels all the StreamSubscription objects in the list managed by this SubSink.
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