stop method
Stops the Loading Bar with the specified (and optional) message
.
Implementation
void stop([
final String? message,
]) {
if (_timer != null) {
_timer!.cancel();
}
if (message != null) {
position = message;
update();
}
console.show_cursor();
print('');
}