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