refreshToken method

Future<void> refreshToken(
  1. 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 this service's base Dio client, so the request shares the configured base URL, headers, and connection pool.

Implementation

Future<void> refreshToken(Dio dio) async {}