toCACertificateStatus method

CACertificateStatus toCACertificateStatus()

Implementation

CACertificateStatus toCACertificateStatus() {
  switch (this) {
    case 'ACTIVE':
      return CACertificateStatus.active;
    case 'INACTIVE':
      return CACertificateStatus.inactive;
  }
  throw Exception('$this is not known in enum CACertificateStatus');
}