toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TlsPolicy.require:
      return 'Require';
    case TlsPolicy.optional:
      return 'Optional';
  }
}