min property Null safety

num min

A minimal element of the iterable.

The iterable must not be empty.

Implementation

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