My User class has a custom property (points). I'm trying to update this property. According to a print statement I added to the code it seems to work except I don't see any change on the server side.
ParseUser user = await ParseUser.currentUser() as ParseUser;
if (user != null) {
ParseUser incrementUser = ParseUser.forQuery()..getObject(user.objectId);
incrementUser.set('points', (user.get('points') + 1));
await incrementUser.save();
print('save: $incrementUser');
}
My User class has a custom property (points). I'm trying to update this property. According to a print statement I added to the code it seems to work except I don't see any change on the server side.