MsgA<Model> constructor

MsgA<Model>({
  1. UpdateFun<Model>? update,
  2. CmdFun<Model>? cmd,
  3. bool targeting = true,
})

Implementation

MsgA({UpdateFun<Model>? update, CmdFun<Model>? cmd, bool targeting = true})
    : super(update: update, cmd: cmd) {
  if (targeting) {
    Arctium.instance<StoreA<Model>>().send(this);
  }
}