start static method

void start(
  1. String msg
)

Implementation

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