waitClockForTesting property

  1. @visibleForTesting
int Function()? waitClockForTesting
getter/setter pair

Replaces _sleepClock in tests, where timers run on fake time.

Implementation

@visibleForTesting
int Function()? waitClockForTesting;