fromMap static method

PurchaseInvoiceNoteRead? fromMap(
  1. Object? body
)

Implementation

static PurchaseInvoiceNoteRead? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'purchase_invoice');
  if (source == null) return null;
  return PurchaseInvoiceNoteRead(
    note: readAny(source['note']),
  );
}