toCertificateType method

CertificateType toCertificateType()

Implementation

CertificateType toCertificateType() {
  switch (this) {
    case 'DISABLED':
      return CertificateType.disabled;
    case 'GENERATED':
      return CertificateType.generated;
  }
  throw Exception('$this is not known in enum CertificateType');
}