onStart method
Callback when this executor is started. Returns true if successfully started, false otherwise.
Implementation
@override
Future<bool> onStart() async {
try {
await _startAudioRecording();
debug('Audio recording resumed - sound file : $_soundFileName');
} catch (error) {
warning('An error occurred trying to start audio recording - $error');
addError(error);
return false;
}
return true;
}