classification property

String get classification

Clasificación textual del score

Implementation

String get classification {
  if (score >= 91) return 'Excelente';
  if (score >= 71) return 'Bueno';
  if (score >= 41) return 'Precaución';
  return 'Crítico';
}