isPlaying method

  1. @override
Future<bool?> isPlaying()
override

Implementation

@override
Future<bool?> isPlaying() async {
  try {
    return await methodChannel.invokeMethod<bool>('isPlaying');
  } catch (e) {
    if (kDebugMode) {
      print(e);
    }

    return false;
  }
}