fromMap static method
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']),
);
}