min property

int min

A minimal element of the iterable.

The iterable must not be empty.

Implementation

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