AuthResponse<T extends Auth<AuthKeys> > class
Constructors
- AuthResponse.authenticated(T? data, {dynamic msg, Provider? provider, AuthType? type})
-
const
- AuthResponse.failure(dynamic msg, {Provider? provider, AuthType? type})
-
const
- AuthResponse.guest(T? data, {dynamic msg, Provider? provider, AuthType? type})
-
const
- AuthResponse.initial({dynamic msg, Provider? provider, AuthType? type})
-
const
- AuthResponse.loading([Provider? provider, AuthType? type])
-
const
- AuthResponse.message(dynamic msg, {Provider? provider, AuthType? type})
-
const
- AuthResponse.rollback(T? data, {dynamic msg, Provider? provider, AuthType? type})
-
const
- AuthResponse.unauthenticated({dynamic msg, Provider? provider, AuthType? type})
-
const
-
const
Properties
- data → T?
-
final
- error → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool
-
no setter
- isInitial → bool
-
no setter
- isLoading → bool
-
no setter
- isMessage → bool
-
no setter
- isState → bool
-
no setter
- message → String
-
no setter
- provider → Provider
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AuthStatus
-
no setter
- type → AuthType
-
no setter
Methods
-
isCurrentProvider(
Provider value) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited