fromMap static method

Implementation

static PurchaseOrderLineReadItemAccountingCode? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return PurchaseOrderLineReadItemAccountingCode(
    costOfGoodsSold: readText(source['cost_of_goods_sold']),
  );
}