toValue method
Implementation
String toValue() {
switch (this) {
case RouteStatusCode.active:
return 'ACTIVE';
case RouteStatusCode.inactive:
return 'INACTIVE';
case RouteStatusCode.deleted:
return 'DELETED';
}
}
String toValue() {
switch (this) {
case RouteStatusCode.active:
return 'ACTIVE';
case RouteStatusCode.inactive:
return 'INACTIVE';
case RouteStatusCode.deleted:
return 'DELETED';
}
}