save method
Implementation
Future<ParseConfig> save() async {
if (parse.configuration == null) {
throw 'Parse SDK not initialized.';
}
final config = parse.configuration!;
if (config.masterKey == null) {
throw 'Master Key not set';
}
final params = {'params': _operations};
dynamic jsonBody = json.encode(params);
final headers = {'content-type': 'application/json; charset=utf-8'};
await parseHTTPClient.put(
path,
body: jsonBody,
headers: headers,
useMasterKey: true,
);
_mergeJson(params);
_operations.clear();
return this;
}