PasswordPolicy class

Implements a password policy.

Constructors

PasswordPolicy({required List<ValidationRule> validationRules, double minimumScore = 1.0})
Define a new PasswordPolicy applying all validationRules to given password.

Properties

hashCode int
The hash code for this object.
no setterinherited
minimumScore double
Minimum score for the password to be validated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationRules List<ValidationRule>
A list of all rules to apply to this PasswordPolicy
final

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