fromMap static method

Implementation

static ReportsTransactionsPaymentAndRefundOverview? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'report');
  if (source == null) return null;
  return ReportsTransactionsPaymentAndRefundOverview(
    paymentAndRefundOverview:
        ReportsTransactionsPaymentAndRefundOverviewPaymentAndRefundOverview
            .fromMap(source['payment_and_refund_overview']),
  );
}