'Refresh token with GraphQL flutter

What is the most effective way to handle refresh tokens with graphql_flutter

I am yet to get any solution online regrading this. In rest api requests, I could listen for expired tokens and call an interceptor before refreshing the token. How does it worj for graphQL?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source