fromMap static method

Implementation

static PurchaseInvoiceLineLineItem? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return PurchaseInvoiceLineLineItem(
    href: readText(source['href']),
    id: readText(source['id']),
    name: readText(source['name']),
    object: readText(source['object']),
  );
}