toValue method

String toValue()

Implementation

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