fail method
End the progress and mark it as failed.
See also:
Implementation
void fail([String? update]) {
_timer?.cancel();
_write(
'$_enableWrap$_clearLine${red.wrap('✗')} ${update ?? _message} $_time\n',
);
_stopwatch.stop();
}
End the progress and mark it as failed.
See also:
void fail([String? update]) {
_timer?.cancel();
_write(
'$_enableWrap$_clearLine${red.wrap('✗')} ${update ?? _message} $_time\n',
);
_stopwatch.stop();
}