stop method
Implementation
Future<void> stop() async {
await _subscription?.cancel();
_subscription = null;
await _recorder?.stop();
await _recorder?.dispose();
_recorder = null;
_frameBuffer = Uint8List(0);
}
Future<void> stop() async {
await _subscription?.cancel();
_subscription = null;
await _recorder?.stop();
await _recorder?.dispose();
_recorder = null;
_frameBuffer = Uint8List(0);
}