ExternalLoginResult class

Log in result.

Represents result data, when was no errors. If user cancels log in - it's not a error, just create result with ExternalLoginResult.cancel constructor.

Constructors

ExternalLoginResult.cancel()
User cancels log in.
const
ExternalLoginResult.success(ExternalLoginData data)
Log in complete successfully.
const
ExternalLoginResult.successWith({String userId, @required String token, String fullName, String avatarUrl, String clientId})
Log in complete successfully.
factory

Properties

data ExternalLoginData
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isCanceled bool
Returns true if log in was canceled by user.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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