refreshToken method
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
Future<void> refreshToken(Dio dio) async {}