DecimalRangeRule class

Checks if the given input is within the given range.

Constructors

DecimalRangeRule(double fact, double min, double max)
const

Properties

fact double
final
hashCode int
The hash code for this object.
no setterinherited
max double
Maximum number of the range.
final
min double
Minimum number of the range.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
no setter

Methods

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