toValue method
Implementation
String toValue() {
switch (this) {
case IpRouteStatusMsg.adding:
return 'Adding';
case IpRouteStatusMsg.added:
return 'Added';
case IpRouteStatusMsg.removing:
return 'Removing';
case IpRouteStatusMsg.removed:
return 'Removed';
case IpRouteStatusMsg.addFailed:
return 'AddFailed';
case IpRouteStatusMsg.removeFailed:
return 'RemoveFailed';
}
}