HttpCaptureScope.inactive constructor

HttpCaptureScope.inactive([
  1. HttpTrafficCollector? collector
])

Inactive scope used when capture is disabled or initiation failed.

Implementation

factory HttpCaptureScope.inactive([HttpTrafficCollector? collector]) =>
    HttpCaptureScope(
      collector: collector ?? DefaultHttpTrafficCollector(),
      context: null,
    );