isAtMax property

bool get isAtMax

Whether at maximum.

Implementation

bool get isAtMax => max != null && val >= max!;