abort method

GuardResult abort()

Abort navigation without redirecting.

The user stays on the current route.

Implementation

GuardResult abort() => GuardResult.handled;