lessThan method

IntType lessThan(
  1. int value
)

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;
}