MatchPredicate<T extends Object> typedef
Decides whether value accepts the captured params (route constraints).
Implementation
typedef MatchPredicate<T extends Object> = bool Function(
T value,
Map<String, String> params,
);