stopwatchValue property
Duration
stopwatchValue
Returns the time that the stopwatch has recorded as elapsed as a Duration.
Implementation
Duration get stopwatchValue {
if (!_running) {
_orig = DateTime.now().toUtc();
}
return Duration(milliseconds: _run(_orig)) + _atPause;
}