stopwatch method
Returns a new stopwatch that uses the current time as reported by this
.
See also:
- GestureBinding.debugSamplingClock, which is used in tests and debug builds to observe FakeAsync.
Implementation
Stopwatch stopwatch() => Stopwatch();