nonPeriodicTimerCount property

int nonPeriodicTimerCount

The number of active non-periodic timers created within a call to run or fakeAsync.

Implementation

int get nonPeriodicTimerCount =>
    _timers.where((timer) => !timer.isPeriodic).length;