decode method
Implementation
@override
(T, Iterable<String>)? decode(UrlData url) {
final value = decodeSegment(SegmentData(
name: url.segments.first,
queryParams: url.queryParams,
state: url.states,
));
if (value == null) {
return null;
}
return (value, url.segments.skip(1));
}