toValue method
Implementation
String toValue() {
switch (this) {
case TunnelStatus.open:
return 'OPEN';
case TunnelStatus.closed:
return 'CLOSED';
}
}
String toValue() {
switch (this) {
case TunnelStatus.open:
return 'OPEN';
case TunnelStatus.closed:
return 'CLOSED';
}
}