toTunnelStatus method
Implementation
TunnelStatus toTunnelStatus() {
switch (this) {
case 'OPEN':
return TunnelStatus.open;
case 'CLOSED':
return TunnelStatus.closed;
}
throw Exception('$this is not known in enum TunnelStatus');
}