import '../../../about/internal/application/MeDescription.dart'; import '../../parent/ParentViewModel.dart'; import 'ConnectSessionExpired.dart'; class ViewSessionExpired extends ParentViewModel { ConnectSessionExpired connection; ViewSessionExpired(super.context, this.connection); /// Clears the stored session before sending the user back to login, so an /// expired token can never be replayed. void signOut() async { await getDataManager() .setMyDescription(MeDescription(id: "", name: "", token: "")); connection.launchLogin(); } }