SubxMap class
Class that holds and manages a list of Subscriptions.
Constructors
- SubxMap()
Properties
Methods
-
add(
Object key, StreamSubscription value) → SubxMap - Add or update a StreamSubscription to the list with a specified key. Will unsubscribe a Subscription when updating a existing key.
-
cancelAll(
) → void - Cancel all StreamSubscriptions and remove them from the list
-
cancelForKey(
Object key) → Future< bool> - Cancel a StreamSubscription with a specified key and remove it from list
-
containsSubscription(
StreamSubscription subscription) → bool - Returns a boolean indicating whether an subscription exists or not.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseAll(
) → void - Pause all StreamSubscriptions of the list
-
resumeAll(
) → void - Resume all StreamSubscriptions of the list
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
Object key) → StreamSubscription? - Return a StreamSubscription from the list with a specified key