LyIterableNotEmtpy class
Validate the value
is not empty in iterable.
If the provided list in value
is empty then it will be invalid and
will return the error message, otherwise it returns null.
Constructors
- LyIterableNotEmtpy(String message)
-
Validate the
value
is not empty in iterable.
Properties
Methods
-
call(
Iterable 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< Iterable> other) → LyBaseValidator<Iterable> -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
LyBaseValidator< Iterable> other) → LyBaseValidator<Iterable> -
inherited