start static method
Implementation
static void start(String msg) {
_msg = msg;
clean();
_timer = Timer.periodic(
Duration(milliseconds: 100),
(timer) {
stdout.write('\r${_items[_index]} $_msg');
_incrementIndex();
},
);
}