DartClock.create constructor

DartClock.create(
  1. Stopwatch stopwatch
)

Custom constructor mostly used for testing

Implementation

DartClock.create(Stopwatch stopwatch) : _stopwatch = stopwatch;