getStopwatch function

  1. @Deprecated('Use clock.stopwatch() instead.')
Stopwatch getStopwatch()

Returns a stopwatch that uses the current time as reported by clock.

Implementation

@Deprecated('Use clock.stopwatch() instead.')
Stopwatch getStopwatch() => clock.stopwatch();