PasswordRuleSet class
Constructors
Properties
- digits → int?
-
Number of digits required
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lowercase → int?
-
Number of lowercase Letters required
final
- maxLength → int?
-
Maximum length of the password (inclusive)
final
- minLength → int?
-
Minimum length of the password (inclusive)
final
-
rules
→ Map<
Rule, int> -
Get the rules included in this PasswordRuleSet
Returns a Map of Rules and the corresponding amount/length
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- specialCharacters → int?
-
Number of special characters required
final
- uppercase → int?
-
Number of uppercase Letters required
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
-
validate(
String input) → Set< Rule> -
Validates a given
input
against the parameters defined at creation Returns a Set of Rules that are not matching if it returns an empty set it means that theinput
is satisfying all specified rules
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited