start method
void
start()
Starts (or resumes) the time countdown.
If the CountdownTimer currently running, then calling start does nothing.
Implementation
void start() {
if (_watch.isRunning || _callback == null) {
return;
}
_watch.start();
final remaining = _duration.inMicroseconds - _watch.elapsedMicroseconds;
if (remaining <= 0) {
_handle();
return;
}
final duration = Duration(microseconds: remaining);
_timer = Timer(duration, _handle);
}