compare property
A function that determines if two parameter values differ.
Returns true when the values differ and false when they match.
Used to decide whether to include a parameter in the URI when a default value exists. If the parameter equals its default value, it is omitted from the URI; otherwise, it is included.
This should be provided if the parameter has a default value and is is not a primitive type.
Implementation
final bool Function(T, T)? compare;