MsgTx constructor

MsgTx({
  1. TxMsgType? msgType,
  2. List<int>? txid,
  3. TxFinalizationReason? finalizationReason,
})

Implementation

factory MsgTx({
  TxMsgType? msgType,
  $core.List<$core.int>? txid,
  TxFinalizationReason? finalizationReason,
}) {
  final result = create();
  if (msgType != null) result.msgType = msgType;
  if (txid != null) result.txid = txid;
  if (finalizationReason != null)
    result.finalizationReason = finalizationReason;
  return result;
}