IsolateManagerController<R, P> class
Constructors
- IsolateManagerController(dynamic params, {void onDispose()?})
- This method only use to create a custom isolate.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialParams → dynamic
-
Get initial parameters when you create the IsolateManager.
no setter
-
onIsolateMessage
→ Stream<
P> -
This parameter is only used for Isolate. Use to listen for values from the main application.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Close this
IsolateManagerController
. -
initialized(
) → void - Mark the isolate as initialized.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendResult(
R result) → void -
Send values from Isolate to the main application (to
onMessage
). -
sendResultError(
IsolateException exception) → void -
Send the
Exception
to the main app. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited