max property

double get max

Largest value, or double.nan when there are no values. Audited: 2026-06-12 11:26 EDT

Implementation

double get max => _sorted.isEmpty ? double.nan : _sorted.last;