refreshToken method
dynamic
refreshToken(
- Dio dio
Perform a Dio
request to update the users auth token.
This method is called when shouldRefreshToken returns true.
You can override this method to perform your own request.
The dio
parameter is a new instance of Dio
.
You can use this to perform a request without affecting the
original Dio
instance.
Implementation
refreshToken(Dio dio) async {}