getProgress method

  1. @override
Future<Long> getProgress(
  1. int id
)
override

Implementation

@override
Future<Long> getProgress(int id) async {
  return await methodChannel.invokeMethod<Long>(ImpulsePlayerPluginConstants.MethodGetProgress, {
    ImpulsePlayerPluginConstants.ParameterId: id,
  }) ?? const Long();
}