getStopwatch method

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

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

Implementation

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