getIsolate method

Future<Isolate> getIsolate(
  1. String isolateId

The getIsolate RPC is used to lookup an Isolate object by its id.

If isolateId refers to an isolate which has exited, then the Collected Sentinel is returned.

See Isolate.

This method will throw a SentinelException in the case a Sentinel is returned.


Future<Isolate> getIsolate(String isolateId) =>
    _call('getIsolate', {'isolateId': isolateId});