CombinedFlow<T> class Null safety

A flow that combines different streams. See the CombinedFlow.combineTwo static methods from helper functions that provides type safety

Inheritance
Available Extensions

Constructors

CombinedFlow(List<Flow> _flows, Combiner _combiner)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
hasListeners bool
Whether any listeners are currently registered.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value → T
The current value held by this flow
read-onlyoverride

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onListen() → void
override
onRemoveListeners() → void
override
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

combineFour<R, F1, F2, F3, F4>(Flow<F1> f1, Flow<F2> f2, Flow<F3> f3, Flow<F4> f4, R combiner(F1 a, F2 b, F3 c, F4 d)) CombinedFlow<R>
combineThree<R, F1, F2, F3>(Flow<F1> f1, Flow<F2> f2, Flow<F3> f3, R combiner(F1 a, F2 b, F3 c)) CombinedFlow<R>
combineTwo<R, F1, F2>(Flow<F1> f1, Flow<F2> f2, R combiner(F1 a, F2 b)) CombinedFlow<R>