isActive property

  1. @override
bool isActive
override

Returns whether the timer is still active.

A non-periodic timer is active if the callback has not been executed, and the timer has not been canceled.

A periodic timer is active if it has not been canceled.

Implementation

@override
bool get isActive => _timer.isActive;