toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InsufficientDataHealthStatus.healthy:
      return 'Healthy';
    case InsufficientDataHealthStatus.unhealthy:
      return 'Unhealthy';
    case InsufficientDataHealthStatus.lastKnownStatus:
      return 'LastKnownStatus';
  }
}