isPaused method

  1. @override
Future<bool?> isPaused(
  1. String playerReference
)
override

Implementation

@override
Future<bool?> isPaused(String playerReference) async {
  try {
    return await methodChannel.invokeMethod<bool>('isPaused', {'playerReference': playerReference});
  } on PlatformException catch (e) {
    debugPrint('Failed to check if video is paused: ${e.message}');
    rethrow;
  }
}