AuthResponse constructor
const
AuthResponse({
- User? firebaseUser,
- UserEntity? user,
- String message = '',
- String error = '',
- bool isCancel = false,
- bool isLoading = false,
- bool isLoggedIn = false,
- bool isSuccessful = false,
- Credential credential = const Credential(),
- bool isFailed = false,
- AuthStatus status = AuthStatus.noContent,
Implementation
const AuthResponse({
this.firebaseUser,
this.user,
this.message = '',
this.error = '',
this.isCancel = false,
this.isLoading = false,
this.isLoggedIn = false,
this.isSuccessful = false,
this.credential = const Credential(),
this.isFailed = false,
this.status = AuthStatus.noContent,
});