check abstract method

Future<void> check(
  1. CurrentRoute currentRoute
)

Performs any logic required before allowing navigation.

Implementations may trigger navigation actions (e.g., redirects) by using the provided CurrentRoute.

Implementation

Future<void> check(CurrentRoute currentRoute);