minOrThrow property
T
get
minOrThrow
Smallest element. Throws StateError if empty.
Implementation
T get minOrThrow => minOrNull ?? (throw StateError('Empty iterable.'));
Smallest element. Throws StateError if empty.
T get minOrThrow => minOrNull ?? (throw StateError('Empty iterable.'));