fromMap static method
Implementation
static ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverview?
fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverview(
payments: readList<
ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverviewPayment>(
source['payments'],
ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverviewPayment
.fromMap),
refunds: readList<
ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverviewRefund>(
source['refunds'],
ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverviewRefund
.fromMap),
);
}