start method
void
start()
Implementation
void start() {
if (!stdout.hasTerminal) {
print(message);
return;
}
_timer = Timer.periodic(const Duration(milliseconds: 80), (_) {
stdout.write('\r${_frames[_frameIndex % _frames.length]} $message');
_frameIndex++;
});
}