showMessage method Null safety

void showMessage(
  1. String message
)

Show a message on the LCD screen.

Implementation

void showMessage(String message) {
  model.display.current = message;
  model.display.update();
  state = MessageShowing(state);
}