clearScreen static method

Cmd clearScreen()

A command that clears the terminal screen.

return (model, Cmd.clearScreen());

Implementation

static Cmd clearScreen() {
  return const Cmd(_clearScreen);
}