isAuthenticated property

bool get isAuthenticated

Check if user is authenticated

Implementation

bool get isAuthenticated {
  return context['is_authenticated'] as bool? ?? false;
}