Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
authentication_state.dart
Go to the documentation of this file.
1part of 'authentication_bloc.dart';
2
3sealed class AuthenticationState extends Equatable {
5
6 @override
7 List<Object> get props => [];
8}
9
10final class AuthenticationInitialState extends AuthenticationState {}
11
12final class AuthenticatingState extends AuthenticationState {}
13
16 const AuthenticationFailureState({required this.failure});
17}
18
21 const AuthenticatedState({required this.session});
22}
23
24final class UnauthenticatedState extends AuthenticationState {}
25
28 const CredentialsLoadedState({required this.credentials});
29}
30
31class EmailLoadedState extends AuthenticationState {
32 final String? email;
33 const EmailLoadedState({required this.email});
34}
35
36final class BiometricAuthAvailable extends AuthenticationState {}
37
38final class BiometricAuthUnavailable extends AuthenticationState {}
39
40final class FastSignInLoading extends AuthenticationState {}
41final class FastSignInLoaded extends AuthenticationState {}
42final class FastSignInFailed extends AuthenticationState {
43 final Failure failure;
44 const FastSignInFailed({required this.failure});
45}
final class AuthenticatedState extends AuthenticationState credentials
sealed class AuthenticationState extends Equatable failure
const CredentialsLoadedState({required this.credentials})
const FastSignInFailed({required this.failure})
const AuthenticationFailureState({required this.failure})
const AuthenticatedState({required this.session})
const EmailLoadedState({required this.email})
final SessionEntity session
const AuthenticationState()
override List< Object?> get props
class Partner String
String get(String locale)
const Failure({ required this.message, required this.color, })