BlocSubscriptionManager mixin
Listen stream or bloc and call update on each event must call closeManager on dispose or close
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
-
closeManager(
) → Future< void> -
listenBlocs(
Iterable< BlocBase> cubits, void update()) → void - listen blocs and call update can add multiple listeners and can be called multiple times with different arguments
-
listenStreams(
Iterable< Stream> streams, void update()) → void - listen stream and call update but can't get access to event value :[
-
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