PasswordValidationResult class

Result of validating a password against strength criteria.

Constructors

PasswordValidationResult({required bool hasMinLength, required bool hasUppercase, required bool hasLowercase, required bool hasDigit, required bool hasSpecialChar, required bool hasNoBannedWords})
const

Properties

hasDigit → bool
Contains at least one digit.
final
hashCode → int
The hash code for this object.
no setterinherited
hasLowercase → bool
Contains at least one lowercase letter.
final
hasMinLength → bool
At least 14 characters.
final
hasNoBannedWords → bool
Does not contain dictionary words, names, or brand names.
final
hasSpecialChar → bool
Contains at least one special character.
final
hasUppercase → bool
Contains at least one uppercase letter.
final
isValid → bool
no setter
metCriteria → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strength → double
Strength score from 0.0 to 1.0.
no setter

Methods

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