Stopwatch constructor Null safety
Creates a Stopwatch in stopped state with a zero elapsed count.
The following example shows how to start a Stopwatch immediately after allocation.
var stopwatch = new Stopwatch()..start();
Implementation
Stopwatch() {
_frequency; // Ensures initialization before using any method.
}