lessThan method
allow only values < value
value
the upper limit
Implementation
IntType lessThan(int value) {
test<int>(
type: int,
name: "lessThan",
params: {
"lessThan": value
},
check: (obj) => obj < value,
);
return this;
}