min static method

double min(
  1. double a,
  2. double b
)

Returns the smaller of two double values.

a first value b second value

Implementation

static double min(double a, double b) => a < b ? a : b;