Skip to content

Commit 400d297

Browse files
committed
README.md updated from https://stackedit.io/
1 parent cd7c192 commit 400d297

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ You can create custom objects by calling:
5555
var dietPlan = ParseObject('DietPlan')
5656
..set('Name', 'Ketogenic')
5757
..set('Fat', 65);
58-
await dietPlan.save()
58+
await dietPlan.save();
5959
```
6060
Verify that the object has been successfully saved using
6161
```dart
6262
var response = await dietPlan.save();
6363
if (response.success) {
64-
dietPlan = response.result;
64+
dietPlan = response.results.first;
6565
}
6666
```
6767
Types supported:
@@ -205,7 +205,7 @@ var queryBuilder = QueryBuilder<DietPlan>(DietPlan())
205205
var response = await queryBuilder.query();
206206
207207
if (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
295295
Initialize the Parse Live Query by entering the parameter liveQueryUrl in Parse().initialize:
296296
```dart
297297
Parse().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:-
562562
This 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

Comments
 (0)