LyNullableStringLengthLowerThan class
Validate the value
is lower than maxLength
.
If the provided string in value
is greater than maxLength
then it will
be invalid and will return the error message, otherwise it returns null.
Constructors
- LyNullableStringLengthLowerThan(String message, int maxLength)
-
Validate the
value
is lower thanmaxLength
.
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