LoginGuard constructor
LoginGuard({
- required String loginPath,
A guard that checks if the user is logged in. If not, it redirects to the loginPath.
Implementation
LoginGuard({required this.loginPath})
: super(persistenceDelegate: LoginPersistenceDelegate());