save method

  1. @override
Future<ParseResponse> save()
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() async {
  if (objectId == null) {
    return await signUp();
  } else {
    final ParseResponse response = await super.save();
    if (response.success) {
      await _onResponseSuccess();
    }
    return response;
  }
}