NumberRangeRule<NUM extends num> class

Checks if the given input is within the given range.

Constructors

NumberRangeRule(NUM fact, NUM min, NUM max)
const

Properties

fact → NUM
final
hashCode int
The hash code for this object.
no setterinherited
max → NUM
Maximum number of the range.
final
min → NUM
Minimum number of the range.
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