StoragePayload constructor

StoragePayload({
  1. Alert? alert,
  2. Arbitrator? arbitrator,
  3. Mediator? mediator,
  4. Filter? filter,
  5. MailboxStoragePayload? mailboxStoragePayload,
  6. OfferPayload? offerPayload,
  7. RefundAgent? refundAgent,
})

Implementation

factory StoragePayload({
  Alert? alert,
  Arbitrator? arbitrator,
  Mediator? mediator,
  Filter? filter,
  MailboxStoragePayload? mailboxStoragePayload,
  OfferPayload? offerPayload,
  RefundAgent? refundAgent,
}) {
  final $result = create();
  if (alert != null) {
    $result.alert = alert;
  }
  if (arbitrator != null) {
    $result.arbitrator = arbitrator;
  }
  if (mediator != null) {
    $result.mediator = mediator;
  }
  if (filter != null) {
    $result.filter = filter;
  }
  if (mailboxStoragePayload != null) {
    $result.mailboxStoragePayload = mailboxStoragePayload;
  }
  if (offerPayload != null) {
    $result.offerPayload = offerPayload;
  }
  if (refundAgent != null) {
    $result.refundAgent = refundAgent;
  }
  return $result;
}