fromMap static method

PurchaseInvoiceLine? fromMap(
  1. Object? body
)

Implementation

static PurchaseInvoiceLine? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'purchase_invoice');
  if (source == null) return null;
  return PurchaseInvoiceLine(
    line: PurchaseInvoiceLineLine.fromMap(source['line']),
    object: readText(source['object']),
  );
}