min property

double min

A minimal element of the iterable.

If any element is NaN, the result is NaN.

The iterable must not be empty.

Implementation

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