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, String? email})
Log in complete successfully.
factory

Properties

data ExternalLoginData?
final
hashCode int
The hash code for this object.
no setterinherited
isCanceled bool
Returns true if log in was canceled by user.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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