setSearchTime method

void setSearchTime(
  1. String time
)

Establecer el tiempo buscado y notifica a los listeners

Implementation

void setSearchTime(String time){
  searchTime = time;
  // NOTIFICA A LOS LISTENERS QUE EL ESTADO HA CAMBIADO
  notifyListeners();
}