isActive property Null safety

bool isActive

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

bool get isActive;