update method
Forwards a message to the textarea model.
Implementation
Cmd? update(Msg msg) {
final before = _TextAreaControllerSnapshot.capture(_model);
final (_, cmd) = _model.update(msg);
if (!before.matches(_model)) {
notifyListeners();
}
return cmd;
}