classification property
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';
}
Clasificación textual del score
String get classification {
if (score >= 91) return 'Excelente';
if (score >= 71) return 'Bueno';
if (score >= 41) return 'Precaución';
return 'Crítico';
}