MatchPredicate<T extends Object> typedef

MatchPredicate<T extends Object> = bool Function(T value, Map<String, String> params)

Decides whether value accepts the captured params (route constraints).

Implementation

typedef MatchPredicate<T extends Object> = bool Function(
  T value,
  Map<String, String> params,
);