Returns the smaller of two double values.
a first value b second value
a
b
static double min(double a, double b) => a < b ? a : b;