setSession method

void setSession(
  1. SessionClass newSessionName
)

Establece la sesión actual y notifica a los listeners.

Implementation

void setSession(SessionClass newSessionName) {
  _session = newSessionName;
  // SE NOTIFICA A TODOS LOS LISTENERS CUANDO EL NOMBRE DE LA SESION CAMBIE
  notifyListeners();
}