fromValue static method

KeyKeyAlgorithm fromValue(
  1. String value
)

Implementation

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