ListShouldNotBeEmptyRule<T extends Object?> class
Checks if the given list is empty.
Constructors
-
ListShouldNotBeEmptyRule(Iterable<
T> fact) -
const
Properties
Methods
-
apply(
) → RuleResponse< Iterable< T> > -
An alias for the execute function.
inherited
-
execute(
) → RuleResponse< Iterable< T> > -
inherited
-
isSatisfied(
Iterable< T> fact) → bool -
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 ==(
Object other) → bool -
The equality operator.
inherited