Subscribed class

Base class for objects that manage stream subscriptions

Classes that extend this can add subscriptions and unsubscribe from all of them at once when the object is disposed.

Implementers

Constructors

Subscribed()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addSubscription(StreamSubscription subscription) → void
Add a single subscription to be managed
addSubscriptions(List<StreamSubscription> subscriptions) → void
Add one or more subscriptions to be managed
dispose() → void
Dispose of this object and cancel all subscriptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unsubscribe() → void
Unsubscribe from all managed subscriptions

Operators

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