save method

  1. @override
Future<ParseResponse> save({
  1. dynamic context,
})
override

Saves the current user

If changes are made to the current user, call save to sync them with Parse Server

Implementation

@override
Future<ParseResponse> save({dynamic context}) async {
  if (objectId == null) {
    return await signUp();
  } else {
    final ParseResponse response = await super.save();
    if (response.success) {
      await _onResponseSuccess();
    }
    return response;
  }
}