/Dart 2

isActive property

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.


bool get isActive;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.