MultiValueStreamController<K, T> class

A wrapper that manages multiple ValueStreamControllers.

This is useful for managing multiple streams of the same type that are identified by a key.

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

add(K id, T value) → void
Add a new value to the ValueStreamController for id.
close(K id) → void
Close the ValueStreamController for id.
getStream(K id, {T? initialValue, bool initiallyNull = false}) Stream<T>
Get the ValueStreamController for id. If no ValueStreamController exists for id, a new one is created.
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