fromMap static method

Implementation

static AccountPurchasePaymentsDataCreditNoteApplication? fromMap(
    Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return AccountPurchasePaymentsDataCreditNoteApplication(
    amount: readText(source['amount']),
    purchaseCreditNote:
        AccountPurchasePaymentsDataCreditNoteApplicationPurchaseCreditNote
            .fromMap(source['purchase_credit_note']),
  );
}