GoRouterRedirect typedef Null safety
The signature of the redirect callback.
Implementation
typedef GoRouterRedirect = FutureOr<String?> Function(
BuildContext context, GoRouterState state);
The signature of the redirect callback.
typedef GoRouterRedirect = FutureOr<String?> Function(
BuildContext context, GoRouterState state);