fromValue static method

IndexIndexUpdateMethod fromValue(
  1. String value
)

Implementation

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