destroyPlayer method
调用销毁
Implementation
Future<bool?> destroyPlayer() async {
try {
return await _channel.invokeMethod<bool>('destroyPlayer', {});
} on PlatformException catch (e) {
debugPrint('Failed to destroyPlayer');
return false;
}
}