stop method
Stop capturing and flush any buffered events.
Implementation
Future<void> stop() async {
if (!_recording) return;
_recording = false;
_controller.stop();
await NexusPlatform.instance.stopReplay();
await _queue.flush();
}
Stop capturing and flush any buffered events.
Future<void> stop() async {
if (!_recording) return;
_recording = false;
_controller.stop();
await NexusPlatform.instance.stopReplay();
await _queue.flush();
}