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