toSmoothGroupCertificateMode method

SmoothGroupCertificateMode toSmoothGroupCertificateMode()

Implementation

SmoothGroupCertificateMode toSmoothGroupCertificateMode() {
  switch (this) {
    case 'SELF_SIGNED':
      return SmoothGroupCertificateMode.selfSigned;
    case 'VERIFY_AUTHENTICITY':
      return SmoothGroupCertificateMode.verifyAuthenticity;
  }
  throw Exception('$this is not known in enum SmoothGroupCertificateMode');
}