PasswordTooShortIssue class final
Password is shorter than allowed.
- Inheritance
-
- Object
- ValidationIssue
- PasswordValidationIssue
- PasswordTooShortIssue
- Available extensions
Constructors
- PasswordTooShortIssue({required int currentLength, required int minLength})
-
Creates a too-short issue.
const
Properties
- code → String
-
Machine-readable issue code.
no setteroverride
- currentLength → int
-
The provided password length.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minLength → int
-
The configured minimum length.
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
-
toPasswordError(
) → PasswordError -
Available on PasswordValidationIssue, provided by the PasswordValidationIssueToDomainErrorX extension
Maps a validation issue to its domain PasswordError equivalent. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited