File tree 3 files changed +29
-2
lines changed
3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ import '../lib/parse_server_sdk.dart' ;
2
+
3
+ Future <void > main () async {
4
+ // Parse initialize
5
+ await Parse ().initialize ("keyApplicationId" , "keyParseServerUrl" ,
6
+ clientKey: "keyParseClientKey" ,
7
+ debug: true ,
8
+ liveQueryUrl: "keyLiveQueryUrl" ,
9
+ autoSendSessionId: true ,
10
+ coreStore: CoreStoreMemoryImp ());
11
+
12
+ // Set a ParseObject and save it
13
+ var dietPlan = ParseObject ('DietPlan' )
14
+ ..set ('Name' , 'Ketogenic' )
15
+ ..set ('Fat' , 65 );
16
+
17
+ var response = await dietPlan.save ();
18
+
19
+ if (response.success) {
20
+ dietPlan = response.results? .first;
21
+ print ("Response received successfully" );
22
+ }
23
+ }
Original file line number Diff line number Diff line change 1
1
name : parse_server_sdk
2
- description : The Dart SDK for Parse Platform (https://parseplatform.org)
2
+ description : The Dart SDK to connect to Parse Server. Build your apps faster with Parse Platform, the complete application stack.
3
3
version : 5.1.0
4
4
homepage : https://github.com/parse-community/Parse-SDK-Flutter
5
5
6
6
environment :
7
- sdk : " >=2.18.0 <3.1 .0"
7
+ sdk : " >=2.18.0 <4.0 .0"
8
8
9
9
dependencies :
10
10
# Networking
@@ -32,3 +32,7 @@ dev_dependencies:
32
32
build_runner : ^2.3.3
33
33
mockito : ^5.3.2
34
34
test : ^1.23.1
35
+
36
+ screenshots :
37
+ - description : Parse Platform logo.
38
+ path : screenshots/logo.png
You can’t perform that action at this time.
0 commit comments