fromValue static method

IndexQueryScope fromValue(
  1. String value
)

Implementation

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