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