toValue method
Implementation
String toValue() {
switch (this) {
case ClientBroker.tls:
return 'TLS';
case ClientBroker.tlsPlaintext:
return 'TLS_PLAINTEXT';
case ClientBroker.plaintext:
return 'PLAINTEXT';
}
}
String toValue() {
switch (this) {
case ClientBroker.tls:
return 'TLS';
case ClientBroker.tlsPlaintext:
return 'TLS_PLAINTEXT';
case ClientBroker.plaintext:
return 'PLAINTEXT';
}
}