decodeAny method
Decode URL segments to a stack of routes, or null if the
segments don't match any known route in this module.
Implementations upcast their specific route subtype to
KaiselRoute for the composer.
Implementation
@override
List<KaiselRoute>? decodeAny(List<String> segments) {
final result = decode(segments);
return result?.cast<KaiselRoute>();
}