stop method
override
Stop playback and release resources.
The default implementation (which may be overridden) updates playbackState by setting the processing state to AudioProcessingState.idle which disables the system notification.
Implementation
@override
Future<void> stop() async {
await onStopCallback?.call();
playbackState.add(playbackState.value.copyWith(
playing: false,
processingState: AudioProcessingState.idle,
));
}