toEndPointType method
Implementation
EndPointType toEndPointType() {
switch (this) {
case 'KAFKA_BOOTSTRAP_SERVERS':
return EndPointType.kafkaBootstrapServers;
}
throw Exception('$this is not known in enum EndPointType');
}
EndPointType toEndPointType() {
switch (this) {
case 'KAFKA_BOOTSTRAP_SERVERS':
return EndPointType.kafkaBootstrapServers;
}
throw Exception('$this is not known in enum EndPointType');
}