getClassList method

Future<ClassList> getClassList(
  1. String isolateId

The getClassList RPC is used to retrieve a ClassList containing all classes for an isolate based on the isolate's isolateId.

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

See ClassList.

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


Future<ClassList> getClassList(String isolateId) =>
    _call('getClassList', {'isolateId': isolateId});