onStateChanged method
Listen to recorder states RecordState.
Provides pause, resume and stop states.
Implementation
Stream<RecordState> onStateChanged(String recorderId) =>
throw UnimplementedError(
'onStateChanged not implemented on the current platform.');