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