isEnd property

bool get isEnd

Returns whether the timer has reached its end.

Throws an assertion error if endTime is not null.

Implementation

bool get isEnd {
  assert(endTime == null, 'endTime must be null to get isEnd');
  return _isEnd;
}