LyNullableStringEquals class
Validation that requires a string to match another string.
Example:
final validator = LyNullableStringEquals('Value not equals', 'abc');
final result = validation('efg');
print(result); // Value not equals
Constructors
- LyNullableStringEquals(String message, dynamic comparison)
- Validation that requires a string to match another string.
Properties
- comparison → dynamic
-
The string that is compared to the
value
to determine if it is valid or not.final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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