toListenerTlsMode method
Implementation
ListenerTlsMode toListenerTlsMode() {
switch (this) {
case 'STRICT':
return ListenerTlsMode.strict;
case 'PERMISSIVE':
return ListenerTlsMode.permissive;
case 'DISABLED':
return ListenerTlsMode.disabled;
}
throw Exception('$this is not known in enum ListenerTlsMode');
}