LesserThanNumberRule<NUM extends num> class

Checks if the given input is lesser than another given number.

Constructors

LesserThanNumberRule(NUM fact, NUM max)
const

Properties

fact → NUM
final
hashCode int
The hash code for this object.
no setterinherited
max → NUM
Maximum number used in the condition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → NUM
no setter

Methods

apply() → RuleResponse<NUM>
An alias for the execute function.
inherited
execute() → RuleResponse<NUM>
inherited
isSatisfied(NUM 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