update method
Updates the Timer
Implementation
void update([
final int place = 1,
]) {
if (_watch != null) {
if (_isStart) {
final msg = '(${_watch!.elapsed.inSeconds}s)';
_lastMsg = msg;
console.raw_console.write(msg);
_isStart = false;
} else {
console.move_cursor_back(_lastMsg.length);
final msg = '(${(_watch!.elapsed.inMilliseconds / 1000).toStringAsFixed(place)}s)';
_lastMsg = msg;
console.raw_console.write(msg);
}
}
}