getIsolateGroupMemoryUsage method Null safety

  1. @override
Future<MemoryUsage> getIsolateGroupMemoryUsage(
  1. String isolateGroupId
)
override

The getIsolateGroupMemoryUsage RPC is used to lookup an isolate group's memory usage statistics by its id.

If isolateGroupId refers to an isolate group which has exited, then the Expired Sentinel is returned.

See IsolateGroup.

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

Implementation

@override
Future<MemoryUsage> getIsolateGroupMemoryUsage(String isolateGroupId) =>
    _call('getIsolateGroupMemoryUsage', {'isolateGroupId': isolateGroupId});