AutoRouteGuard.simple constructor

AutoRouteGuard.simple(
  1. OnNavigation onNavigation, {
  2. String? debugLabel,
})

Builds a simple instance that takes in the OnNavigation callback

Implementation

factory AutoRouteGuard.simple(OnNavigation onNavigation, {String? debugLabel}) = AutoRouteGuardCallback;