Msg<Model> constructor

const Msg<Model>({
  1. UpdateFun<Model>? update,
  2. CmdFun<Model>? cmd,
})

Implementation

const Msg({this.update, this.cmd});