ExternalLoginErrorData class

Error data on log in failure.

Constructors

ExternalLoginErrorData(ExternalLoginError error, {String? localizedMessage, String? description})
const
ExternalLoginErrorData.cantGetProfile({String? localizedMessage, String? description})
Creates data with ExternalLoginError.cantGetProfile.
factory
ExternalLoginErrorData.loginFailed({String? localizedMessage, String? description})
Creates data with ExternalLoginError.loginFailed.
factory
ExternalLoginErrorData.muted({String? description})
Creates data with ExternalLoginError.muted.
factory
ExternalLoginErrorData.requireRetry({String? localizedMessage, String? description})
Creates data with ExternalLoginError.requireRetry.
factory
ExternalLoginErrorData.unknown({String? localizedMessage, String? description})
Creates data with ExternalLoginError.unknown.
factory

Properties

description String?
Error description. It's for developer.
final
error ExternalLoginError
Error.
final
hashCode int
The hash code for this object.
no setterinherited
localizedMessage String?
Localized error message. Will be shown to a user.
final
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