onStop method
Callback when this executor is stopped. Returns true if successfully stopped, false otherwise.
Implementation
@override
Future<bool> onStop() async {
if (_isRecording) await onPause();
await recorder.stopRecorder();
return super.onStop();
}