LyNullableStringPasswordMatch class
Validation that requires a string to match another string.
This validator is commonly used for validating passwords to make sure they match.
Example:
final validator = LyNullableStringPasswordMatch('Invalid password', () => 'abc');
final result = validation('123');
print(result); // Invalid password
Constructors
- LyNullableStringPasswordMatch(String message, String match())
- Validation that requires a string to match another string.
Properties
Methods
-
call(
String? value) → String? -
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 &(
LyBaseValidator< String?> other) → LyBaseValidator<String?> -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
LyBaseValidator< String?> other) → LyBaseValidator<String?> -
inherited