FakeStopwatch constructor

FakeStopwatch(
  1. int now(),
  2. int frequency
)

Implementation

FakeStopwatch(int Function() now, this.frequency)
    : _now = now,
      _start = null,
      _stop = null;