fromValue static method

ItemProperty fromValue(
  1. String value
)

Implementation

static ItemProperty fromValue(String value) {
  return ItemProperty.values.firstWhere((item) => item.value == value);
}