min property

int get min

A minimal element of the iterable.

The iterable must not be empty.

Implementation

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