MatchRule class final
The password equals the value other returns, typically the text of a confirmation field.
PasswordRules.generate skips this rule, since the confirmation is typed after the password.
- Inheritance
-
- Object
- PasswordRule
- MatchRule
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
test(
String password) → bool -
Whether
passwordsatisfies this rule.override -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited