clearCpuSamples method Null safety

  1. @override
Future<Success> clearCpuSamples(
  1. String isolateId

Clears all CPU profiling samples.

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

See Success.

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


Future<Success> clearCpuSamples(String isolateId) =>
    _call('clearCpuSamples', {'isolateId': isolateId});