isAuthorized property

Future<bool> Function(CurrentRoute currentRoute)? isAuthorized
final

Optional authorization check that returns true when the user is allowed to access this route.

Implementation

final Future<bool> Function(CurrentRoute currentRoute)? isAuthorized;