tick method

Cmd tick()

Creates a command to start the spinner animation.

Call this from your init() method to begin animating.

Implementation

Cmd tick() {
  return Cmd(() async {
    return SpinnerTickMsg(time: DateTime.now(), id: _id, tag: _tag);
  });
}