IsolatedWorker class abstract

An isolated worker spawning a single Isolate.

Constructors

IsolatedWorker()
Returns a singleton instance of IsolatedWorker
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

close() FutureOr<void>
Don't try to close when the app still needs the run function
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<Q, R>(FutureOr<R> callback(Q message), Q message) Future<R>
Just like using Flutter's compute function
toString() String
A string representation of this object.
inherited

Operators

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