getWorstValue method
- bool isDnf = false
Obtiene el peor tiempo de la sesión actual.
Llama al método DAO de tiempos getWorstTimeBySession(timesList)
y retorna el peor tiempo.
Parámetros:
isDnf
(opcional): Atributo para saber si ha puesto un DNF al tiempo actual.
Implementation
Future<String> getWorstValue([bool isDnf = false]) async {
return await TimeTrainingDaoSb().getWorstTimeBySession(_timesList, isDnf);
}