reset method

void reset()

Stops capture (if any) and returns to idle.

Implementation

void reset() {
  _timer?.cancel();
  _service.stopRecording();
  stateListenable.value = const ApiInspectorIdle();
}