File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ ## 0.0.1+1
2+
3+ - remove unsed comment
14## 0.0.1
25
36 - Add formData handling
47 - Update readme
5-
68## 0.0.6-dev
79
810 - Fix
Original file line number Diff line number Diff line change @@ -199,6 +199,12 @@ class RestClient extends FlutterFeathersjs {
199199
200200 /// POST /serviceName
201201 /// Create a new resource with data.
202+ /// @var fieldsMap: other field non file
203+ ///@var hasSingleFile: true for signle file , false otherwise
204+ ///@ fileFieldName: the file | files field which must be send to the server
205+ ///@var files: a List map of {"filePath": the file path, "fileName": the file ame}
206+ ///if hasSingleFile is true, just the file first entry of the list otherwise looping through the
207+ ///list
202208 Future <Response <dynamic >> create (
203209 {String serviceName,
204210 Map <String , dynamic > data,
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ class SocketioClient extends FlutterFeathersjs {
3434
3535 utils = new Utils ();
3636
37- if (true ) {
38- print ("-----Dev printing start----" );
3937
4038 _socket.on ('connect' , (_) {
4139 print ("Socket connection established" );
@@ -61,8 +59,6 @@ class SocketioClient extends FlutterFeathersjs {
6159 'reconnect_attempt' , (_) => print ("Attempting a reconnection" ));
6260 _socket.on ('reconnect_failed' , (_) => print ("A reconnection failed" ));
6361 _socket.on ('reconnecting' , (_) => print ("Reconnecting..." ));
64- print ("-----Dev printing end----" );
65- }
6662 }
6763
6864 ///This function must be call afther auth with rest is OK
Original file line number Diff line number Diff line change 11name : flutter_feathersjs
22description : Communicate with your feathers js server from flutter.
3- version : 0.0.1
3+ version : 0.0.1+1
44homepage : https://github.com/Dahkenangnon/flutter_feathersjs.dart
55repository : https://github.com/Dahkenangnon/flutter_feathersjs.dart
66
You can’t perform that action at this time.
0 commit comments