fromValue static method

CryptoKeyVersionState fromValue(
  1. String value
)

Implementation

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