min method

DoubleType min(
  1. double value
)

allow only values >= value value the minimum value

Implementation

DoubleType min(double value) {
  test<double>(
    type: double,
    name: "min",
    params: {
      "min": value
    },
    check: (obj) => obj >= value,
  );

  return this;
}