fromValue static method

IndexConfigType fromValue(
  1. String value
)

Implementation

static IndexConfigType fromValue(String value) {
  for (final item in IndexConfigType.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown IndexConfigType value: $value');
}