withLowerLimit method

double withLowerLimit(
  1. double min
)

returns this if it is not greater than max, otherwise max

Implementation

double withLowerLimit(double min) =>
    (this as num)._withLowerLimit(min).toDouble();