fromValue static method

KeyDataKeySpec fromValue(
  1. String value
)

Implementation

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