min method

E? min()

Returns the smallest element or null if there are no elements.

All elements must be of type Comparable.

Implementation

E? min() => _minMax(-1);