stop static method
Stop playback
Implementation
static Future<void> stop() async {
try {
await _methodChannel.invokeMethod('stop');
await dispose();
} catch (e) {
print('AudioPlayerPlatform.stop error: $e');
}
}
Stop playback
static Future<void> stop() async {
try {
await _methodChannel.invokeMethod('stop');
await dispose();
} catch (e) {
print('AudioPlayerPlatform.stop error: $e');
}
}