RoutePredicate typedef Null safety

RoutePredicate = bool Function(Route route)

Signature for the Navigator.popUntil predicate argument.

Implementation

typedef RoutePredicate = bool Function(Route<dynamic> route);