menu
neuron
neuron.dart
AuthGuard
AuthGuard.new constructor
AuthGuard.new
dark_mode
light_mode
AuthGuard
constructor
AuthGuard
(
{
required
bool
isAuthenticated
(),
String
redirectRoute
=
'/login'
,
})
Implementation
AuthGuard({ required this.isAuthenticated, this.redirectRoute = '/login', });
neuron
neuron
AuthGuard
AuthGuard.new constructor
AuthGuard class