fromValue static method

KeyVersionSpecAlgorithm fromValue(
  1. String value
)

Implementation

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