How to redirect if token expired in flutter with http
I have a problem where when the user's token expires it should return to the login page, but the case I experienced was that it didn't return to the login page, instead it gave an exception in the form of…