setDateAsc method

void setDateAsc(
  1. bool? isDateAsc
)

Establecer si el usuario ha seleccionado la ordenación por fecha ascendente o descendentemente

Implementation

void setDateAsc(bool? isDateAsc){
  dateAsc = isDateAsc;
  // NOTIFICA A LOS LISTENERS QUE EL ESTADO HA CAMBIADO
  notifyListeners();
}