noCmd function

UpdateResult noCmd(
  1. Model model
)

Helper function to create an update result with no command.

return noCmd(newModel);
// equivalent to: return (newModel, null);

Implementation

UpdateResult noCmd(Model model) => (model, null);