getCountValue method

Future<String> getCountValue()

Obtiene la cantidad total de tiempos registrados en la sesión actual.

Llama al método DAO de tiempos getCountBySession(timesList) y retorna el número de tiempos que hay en una sesión.

Implementation

Future<String> getCountValue() async {
  int count = await TimeTrainingDaoSb().getCountBySession(_timesList);
  return count.toString();
}