LoginServiceTranslations class

LoginServiceTranslations is used to provide custom error messages for the LoginService implementations.

Annotations

Constructors

LoginServiceTranslations({required String errorTitle, required String errorMessage, required String userDisabledTitle, required String userDisabledMessage, required String wrongPasswordTitle, required String wrongPasswordMessage, required String tooManyRequestsTitle, required String tooManyRequestsMessage, required String invalidCredentialsTitle, required String invalidCredentialsMessage, required String changePasswordInvalidEmailTitle, required String changePasswordInvalidEmailMessage, required String changePasswordUserNotFoundTitle, required String changePasswordUserNotFoundMessage, required String changePasswordErrorTitle, required String changePasswordErrorMessage})
const
LoginServiceTranslations.empty()
empty is used to create an empty LoginServiceTranslations object, to use the default error messages.
const

Properties

changePasswordErrorMessage String
final
changePasswordErrorTitle String
final
changePasswordInvalidEmailMessage String
final
changePasswordInvalidEmailTitle String
final
changePasswordUserNotFoundMessage String
final
changePasswordUserNotFoundTitle String
final
errorMessage String
final
errorTitle String
final
hashCode int
The hash code for this object.
no setterinherited
invalidCredentialsMessage String
final
invalidCredentialsTitle String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tooManyRequestsMessage String
final
tooManyRequestsTitle String
final
userDisabledMessage String
final
userDisabledTitle String
final
wrongPasswordMessage String
final
wrongPasswordTitle String
final

Methods

copyWith({String? errorTitle, String? errorMessage, String? userDisabledTitle, String? userDisabledMessage, String? wrongPasswordTitle, String? wrongPasswordMessage, String? tooManyRequestsTitle, String? tooManyRequestsMessage, String? invalidCredentialsTitle, String? invalidCredentialsMessage, String? changePasswordInvalidEmailTitle, String? changePasswordInvalidEmailMessage, String? changePasswordUserNotFoundTitle, String? changePasswordUserNotFoundMessage, String? changePasswordErrorTitle, String? changePasswordErrorMessage}) LoginServiceTranslations
copyWith is used to create a new LoginServiceTranslations object with the provided values. If a value is not provided, the original value will be used.
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