fromValue static method

SslCertificateType fromValue(
  1. String value
)

Implementation

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