clearCpuSamples method Null safety

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.

Implementation

Future<Success> clearCpuSamples(String isolateId);