max property Null safety
A maximal element of the iterable.
The iterable must not be empty.
Implementation
double get max => maxOrNull ?? (throw StateError('No element'));
A maximal element of the iterable.
The iterable must not be empty.
double get max => maxOrNull ?? (throw StateError('No element'));