touchSession method

void touchSession()

Updates the session timeout

Implementation

void touchSession() {
  if (state.isLoggedIn) {
    emit(state.copyWith(
      session: state.session.touch(),
    ));
  }
}