qualityDescription property

String get qualityDescription

Implementation

String get qualityDescription {
  if (healthScore >= 0.8) return 'Excellent';
  if (healthScore >= 0.5) return 'Good';
  if (healthScore >= 0.3) return 'Poor';
  return 'Disconnected';
}