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

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(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