match method
Implementation
MatchResult match(String path) {
return routes.map((x) => x.match(path)).firstWhere(
(x) => x.isSuccess,
orElse: () => MatchResult.fail(null),
);
}
MatchResult match(String path) {
return routes.map((x) => x.match(path)).firstWhere(
(x) => x.isSuccess,
orElse: () => MatchResult.fail(null),
);
}