refreshToken method

Future<void> refreshToken()

Implementation

Future<void> refreshToken() {
  return dio.post(
    '/refresh-token',
    data: {},
  ).then(
    (response) => response.data,
  );
}