stopPlayer method
Implementation
static Future<void> stopPlayer() async {
try {
await _channel.invokeMethod('stopPlayer');
} on PlatformException catch (e) {
print(e.details);
}
}
static Future<void> stopPlayer() async {
try {
await _channel.invokeMethod('stopPlayer');
} on PlatformException catch (e) {
print(e.details);
}
}