sendMsg method

void sendMsg(
  1. Msg msg
)

Sends an arbitrary Msg to the Program and captures the view.

Implementation

void sendMsg(Msg msg) {
  _ensureRunning();
  _program!.send(msg);
  _syncView();
}