getStopwatch function Null safety
- @Deprecated('Use clock.stopwatch() instead.')
Returns a stopwatch that uses the current time as reported by clock.
Implementation
@Deprecated('Use clock.stopwatch() instead.')
Stopwatch getStopwatch() => clock.stopwatch();