releasePlayer method
Implementation
Future<void> releasePlayer() async {
try {
await methodChannel.invokeMethod(Constant.METHOD_RELEASE_PLAYER);
} on PlatformException catch (_) {}
}
Future<void> releasePlayer() async {
try {
await methodChannel.invokeMethod(Constant.METHOD_RELEASE_PLAYER);
} on PlatformException catch (_) {}
}