UIIsolateManager class
Manager which is works in UI Isolate, responds on IsolateBlocEvent
s from Isolate,
manages IsolateBlocWrappers and implements createBloc global function.
Constructors
- UIIsolateManager(IsolateCreateResult createResult)
-
Creates new manager and sets instance.
factory
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
-
createIsolateBloc<
T extends IsolateBlocBase, S> () → IsolateBlocWrapper< S> - Starts creating IsolateBlocBase and returns IsolateBlocWrapper.
-
dispose(
) → Future< void> -
Free all resources and kills
Isolate
. -
initialize(
) → Future< void> -
Starts listening for
_isolateMessenger
and waits for InitialStates. -
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
Static Properties
- instance ↔ UIIsolateManager?
-
Instance of the last created manager.
getter/setter pair