On this page
getIsolateID method
String getIsolateID(Returns a String token representing the ID of isolate
.
Returns null if the running Dart environment does not support the service protocol.
Source
static String getIsolateID(Isolate isolate) {
if (isolate is! Isolate) {
throw new ArgumentError.value(isolate, 'isolate', 'Must be an Isolate');
}
return _getIsolateIDFromSendPort(isolate.controlPort);
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-developer/Service/getIsolateID.html