toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CertificateType.disabled:
      return 'DISABLED';
    case CertificateType.generated:
      return 'GENERATED';
  }
}