session property

  1. @override
DescopeSession? get session
override

Set by the session manager whenever the current active session changes.

Implementation

@override
DescopeSession? get session => _session;
  1. @override
set session (DescopeSession? session)
override

Set by the session manager whenever the current active session changes.

Implementation

@override
set session(DescopeSession? session) {
  if (session == _session) return;
  _session = session;
  if (session == null) {
    stopTimer();
  } else {
    startTimer();
  }
}