isActive property

bool get isActive

Returns whether the timer is currently active.

Implementation

bool get isActive => _timer != null && _timer!.isActive;