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