StoragePayload constructor
StoragePayload({
- Alert? alert,
- Arbitrator? arbitrator,
- Mediator? mediator,
- Filter? filter,
- MailboxStoragePayload? mailboxStoragePayload,
- OfferPayload? offerPayload,
- 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;
}