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