AuthResponse class

Constructors

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})
const

Properties

credential Credential
final
error String
final
firebaseUser → User?
final
hashCode int
The hash code for this object.
no setterinherited
isCancel bool
final
isFailed bool
final
isLoading bool
final
isLoggedIn bool
final
isSuccessful bool
final
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status AuthStatus
final
statusCode → dynamic
no setter
user UserEntity?
final

Methods

copy({bool? isCancel, bool? isSuccessful, bool? isLoading, bool? isLoggedIn, bool? isFailed, User? firebaseUser, UserEntity? user, String? message, String? error, AuthStatus? status}) AuthResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited