LyNullableStringLengthGreaterThan class

Validate the value is greater than minLength.

If the provided string in value is less than minLength then it will be invalid and will return the error message, otherwise it returns null.

Constructors

LyNullableStringLengthGreaterThan(String message, int minLength)
Validate the value is greater than minLength.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
minLength int
The minimum length of the string.
final
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