elapsed property
Duration
get
elapsed
The time measured so far, including the current stretch.
Implementation
Duration get elapsed {
final startedAt = _startedAt;
return startedAt == null
? _accumulated
: _accumulated + (_now() - startedAt);
}