LoginResult class
class to handle a login request
Constructors
- LoginResult({required LoginStatus status, String? message, AccessToken? accessToken})
Properties
- accessToken → AccessToken?
-
contain the access token information for the current session
this will be null when the login request fail
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
contain a message when the login request fail
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → LoginStatus
-
contain status of a previous login request
final
Methods
-
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
Static Methods
-
getResultFromException(
PlatformException e) → dynamic - returns an instance of LoginResult class from a PlatformException