getIsolateId method

Future<String> getIsolateId()

Returns the isolate id. Returns: The isolate id.

Implementation

Future<String> getIsolateId() async {
  var result = await _client.send('Runtime.getIsolateId');
  return result['id'] as String;
}