clearHttpProfile method Null safety

Future<Success> clearHttpProfile(
  1. 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) => _callHelper(
      'ext.dart.io.clearHttpProfile',
      isolateId,
    );