fromValue static method

CVSSv3IntegrityImpact fromValue(
  1. String value
)

Implementation

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