registerWithFactory static method

void registerWithFactory()

Register this message type with the factory

Implementation

static void registerWithFactory() {
  RegisterableMessage.register<MsgTx>(
    Commands.tx,
    MsgTx.deserialize,
    () => MsgTx(),
  );
}