min method

int min()

Returns the smaller value

Implementation

int min() => math.min(width, height);