fromMap static method

PurchaseOrderNote? fromMap(
  1. Object? body
)

Implementation

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