stop method
停止
Implementation
Future<bool?> stop() async {
try {
final result = await _channel.invokeMethod<bool>('stop', {});
if (result == true) {
isPlaying = false;
}
return result;
} on PlatformException catch (e) {
print('Failed to stop');
return false;
}
}