isPlaying method

Future<bool> isPlaying()

Implementation

Future<bool> isPlaying() async {
  try {
    return await methodChannel.invokeMethod(Constant.METHOD_IS_PLAYING);
  } on PlatformException catch (_) {
    return false;
  }
}