stop method
Stops the audio playback.
This method sends a request to the platform to stop the audio playback completely.
Implementation
@override
Future<void> stop() async {
try {
await methodChannel.invokeMethod('stop');
} on PlatformException catch (e) {
throw PlatformException(code: e.code, message: e.message);
}
}