touchSession method
void
touchSession()
Updates the session timeout
Implementation
void touchSession() {
if (state.isLoggedIn) {
emit(state.copyWith(
session: state.session.touch(),
));
}
}
Updates the session timeout
void touchSession() {
if (state.isLoggedIn) {
emit(state.copyWith(
session: state.session.touch(),
));
}
}