IsolateUtil class

Properties

hashCode int
The hash code for this object.
no setterinherited
logSendPost SendPort?
main isolate 的sendPort:日志的 SendPort port2
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

intIsolate() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendLog(dynamic message) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance IsolateUtil
final
mainReceivePort ReceivePort
final

Static Methods

async<Q, R>(ComputeCallback<Q, R> callback, Q message, {String? debugLabel}) Future<R>
(方法,参数) 方法是顶级的方法
doWorkLog(SendPort port1) → void