RouteBinder<T> typedef

RouteBinder<T> = FutureOr<T?> Function(String value)

turns the raw text of a route param into a value, like a model. null means not found: the request gets 404.

Implementation

typedef RouteBinder<T> = FutureOr<T?> Function(String value);