updateProfile method
Implementation
Future<Either<ApiError, Profile>> updateProfile(Map<String, dynamic> data) {
cache.get<Profile>("profile").markAsShouldReload();
return patch("$_profileRoutesPrefix/me", (json) => Profile.fromJson(json),
requestBody: data);
}