getClassList method Null safety

  1. @override
Future<ClassList> getClassList(
  1. String isolateId
)
override

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.

Implementation

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