fromMap static method

Implementation

static OrderReadLineItemCustomAttribute? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return OrderReadLineItemCustomAttribute(
    name: readText(source['name']),
    value: readAny(source['value']),
  );
}