refreshUser method
Refreshes the current user's data.
Returns a Future<Map<String, dynamic>>
containing the refreshed user data.
Implementation
Future<Map<String, dynamic>> refreshUser() async {
return await _makeRequest(
'/api/refresh-user/',
method: 'POST',
);
}