fromMap static method

Implementation

static ReportsPurchaseTransactionsPurchasePaymentAndRefundOverview? fromMap(
    Object? body) {
  final source = readRecord(body, envelopeKey: 'report');
  if (source == null) return null;
  return ReportsPurchaseTransactionsPurchasePaymentAndRefundOverview(
    purchasePaymentAndRefundOverview:
        ReportsPurchaseTransactionsPurchasePaymentAndRefundOverviewPurchasePaymentAndRefundOverview
            .fromMap(source['purchase_payment_and_refund_overview']),
  );
}