min method

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

Returns the minimum of the two arguments a and b.

Implementation

T min(T a, T b) => this(a, b) < 0 ? a : b;