getMemoryUsage method Null safety
- String isolateId
override
The getMemoryUsage RPC is used to lookup an isolate's memory usage
statistics 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.
Implementation
@override
Future<MemoryUsage> getMemoryUsage(String isolateId) =>
_call('getMemoryUsage', {'isolateId': isolateId});