commandDispatcher method

void commandDispatcher(
  1. Cmd<Model> commands
)

Dispatch a command, reusing the same model

Implementation

void commandDispatcher(Cmd<Model> commands) =>
    dispatcher((Model model) => Update(model, commands: commands));