DisputeOpenedMessage constructor

DisputeOpenedMessage({
  1. Dispute? dispute,
  2. NodeAddress? senderNodeAddress,
  3. String? uid,
  4. SupportType? type,
  5. String? updatedMultisigHex,
  6. PaymentSentMessage? paymentSentMessage,
})

Implementation

factory DisputeOpenedMessage({
  Dispute? dispute,
  NodeAddress? senderNodeAddress,
  $core.String? uid,
  SupportType? type,
  $core.String? updatedMultisigHex,
  PaymentSentMessage? paymentSentMessage,
}) {
  final $result = create();
  if (dispute != null) {
    $result.dispute = dispute;
  }
  if (senderNodeAddress != null) {
    $result.senderNodeAddress = senderNodeAddress;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  if (type != null) {
    $result.type = type;
  }
  if (updatedMultisigHex != null) {
    $result.updatedMultisigHex = updatedMultisigHex;
  }
  if (paymentSentMessage != null) {
    $result.paymentSentMessage = paymentSentMessage;
  }
  return $result;
}