DartWorkerInternal class final
Internal DartWorker with callback handle.
This class is used internally by NativeWorkManager to pass the callback handle to the native side. Users should use DartWorker instead.
DO NOT use this class directly - it's for internal use only.
Constructors
Properties
- autoDispose → bool
-
Whether to dispose Flutter Engine immediately after task completes.
final
- callbackHandle → int
-
Serializable callback handle for cross-isolate communication.
final
- callbackId → String
-
ID of the registered callback.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
input
→ Map<
String, dynamic> ? -
Optional input data (will be JSON encoded).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workerClassName → String
-
Get the worker class name for native side.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Convert to map for platform channel.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited