isPlaying method

  1. @override
Future<bool> isPlaying(
  1. int id
)
override

Implementation

@override
Future<bool> isPlaying(int id) async {
  return await methodChannel.invokeMethod<bool>(ImpulsePlayerPluginConstants.MethodIsPlaying, {
    ImpulsePlayerPluginConstants.ParameterId: id,
  }) ?? false;
}