IsoRunner class
The isolate runner
Constructors
- IsoRunner({required SendPort chanOut, ReceivePort? dataIn, List? args})
- A chanOut has to be provided
Properties
- args ↔ List?
-
The arguments for the run function
getter/setter pair
- chanOut → SendPort
-
The SendPort to send data into the isolate
final
- dataIn ↔ ReceivePort?
-
The ReceivePort to reveive data in the isolate
getter/setter pair
- hasArgs → bool
-
Does the run function has arguments
no setter
- 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
-
receive(
) → ReceivePort - Initialize the receive channel
-
send(
dynamic data) → void - Send data to the main thread
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited