DisputeClosedMessage constructor

DisputeClosedMessage({
  1. String? uid,
  2. DisputeResult? disputeResult,
  3. NodeAddress? senderNodeAddress,
  4. SupportType? type,
  5. String? updatedMultisigHex,
  6. String? unsignedPayoutTxHex,
  7. bool? deferPublishPayout,
})

Implementation

factory DisputeClosedMessage({
  $core.String? uid,
  DisputeResult? disputeResult,
  NodeAddress? senderNodeAddress,
  SupportType? type,
  $core.String? updatedMultisigHex,
  $core.String? unsignedPayoutTxHex,
  $core.bool? deferPublishPayout,
}) {
  final $result = create();
  if (uid != null) {
    $result.uid = uid;
  }
  if (disputeResult != null) {
    $result.disputeResult = disputeResult;
  }
  if (senderNodeAddress != null) {
    $result.senderNodeAddress = senderNodeAddress;
  }
  if (type != null) {
    $result.type = type;
  }
  if (updatedMultisigHex != null) {
    $result.updatedMultisigHex = updatedMultisigHex;
  }
  if (unsignedPayoutTxHex != null) {
    $result.unsignedPayoutTxHex = unsignedPayoutTxHex;
  }
  if (deferPublishPayout != null) {
    $result.deferPublishPayout = deferPublishPayout;
  }
  return $result;
}