@@ -55,13 +55,13 @@ You can create custom objects by calling:
5555var dietPlan = ParseObject('DietPlan')
5656 ..set('Name', 'Ketogenic')
5757 ..set('Fat', 65);
58- await dietPlan.save()
58+ await dietPlan.save();
5959```
6060Verify that the object has been successfully saved using
6161``` dart
6262var response = await dietPlan.save();
6363if (response.success) {
64- dietPlan = response.result ;
64+ dietPlan = response.results.first ;
6565}
6666```
6767Types supported:
@@ -205,7 +205,7 @@ var queryBuilder = QueryBuilder<DietPlan>(DietPlan())
205205var response = await queryBuilder.query();
206206
207207if (response.success) {
208- print(ApplicationConstants.keyAppName + ": " + ((response.result as List<dynamic>).first as DietPlan).toString());
208+ print(ApplicationConstants.keyAppName + ": " + ((response.results as List<dynamic>).first as DietPlan).toString());
209209} else {
210210 print(ApplicationConstants.keyAppName + ": " + response.exception.message);
211211}
@@ -295,11 +295,11 @@ The Parse Server configuration guide on the server is found here https://docs.pa
295295Initialize the Parse Live Query by entering the parameter liveQueryUrl in Parse().initialize:
296296``` dart
297297Parse().initialize(
298- ApplicationConstants. keyApplicationId,
299- ApplicationConstants. keyParseServerUrl,
300- clientKey: ApplicationConstants. keyParseClientKey,
298+ keyApplicationId,
299+ keyParseServerUrl,
300+ clientKey: keyParseClientKey,
301301 debug: true,
302- liveQueryUrl: ApplicationConstants. keyLiveQueryUrl,
302+ liveQueryUrl: keyLiveQueryUrl,
303303 autoSendSessionId: true);
304304```
305305
@@ -561,5 +561,5 @@ Objects:
561561## Author:-
562562This project was authored by Phill Wiggins. You can contact me at phill.wiggins@gmail.com
563563<!-- stackedit_data:
564- eyJoaXN0b3J5IjpbLTQxMTMxNDk0MSw3MTg2NTA0MjBdfQ= =
564+ eyJoaXN0b3J5IjpbLTIwNDQ4NTM3NDIsNzE4NjUwNDIwXX0 =
565565-->
0 commit comments