isExhausted property

bool get isExhausted

True when the user has hit any cap.

Implementation

bool get isExhausted {
  final r = remaining;
  return r != null && r == 0;
}