setWindowTitle static method

Cmd setWindowTitle(
  1. String title
)

A command that sets the terminal window title.

return (model, Cmd.setWindowTitle('My App - Page 1'));

Implementation

static Cmd setWindowTitle(String title) {
  return Cmd(() async => SetWindowTitleMsg(title));
}