min property

T min

A minimal element of the iterable.

The iterable must not be empty.

Implementation

T get min => minOrNull ?? (throw StateError('No element'));