toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case HealthStatusFilter.healthy:
      return 'HEALTHY';
    case HealthStatusFilter.unhealthy:
      return 'UNHEALTHY';
    case HealthStatusFilter.all:
      return 'ALL';
  }
}