Combine class
Combine is used to spawn a new CombineIsolate.
Take a look at CombineWorker if you want to efficiently execute tasks in isolates' pool.
Constructors
- Combine()
-
Combine is used to spawn a new CombineIsolate.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
spawn<
T> (IsolateEntryPoint< T> entryPoint, {T? argument, bool errorsAreFatal = true, String? debugName = "combine_isolate", RootIsolateToken? isolateToken}) → Future<CombineInfo> -
Creates a new CombineIsolate which is just a representation of Isolate
that allows to use MethodChannels and BinaryMessengers in it.
So when you create a CombineIsolate, an Isolate
will be created under the hood. On the web, however,
entryPoint
will be executed on the main isolate. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited