clearHttpProfile method
- String isolateId
The clearHttpProfile RPC is used to clear previously recorded HTTP
requests from the HTTP profiler state. Requests still in-flight after
clearing the profiler state will be ignored by the profiler.
Implementation
Future<Success> clearHttpProfile(String isolateId) async {
  assert(await isHttpProfilingAvailable(isolateId));
  return _callHelper(
    'ext.dart.io.clearHttpProfile',
    isolateId,
  );
}