parse_connect package for Flutter
Parse_Connect is a package that provides Parse client functionality for Flutter. It is currently based on , and developed against, a Parse server setup on Back4App. This first release is limited and provides basic functionality for:
With it you should be able to create, edit, update and delete Objects as well as signing up, updating, deleting and logging on Users.
This is currently Work in Progress and the API's are subject to updates and modifications as they are developed and refined.
Updated the user validate() method to automatically set the sessionToken if it is valid
Modified login & logout to automatically track the user sessionToken.
This update fixes an issue that manifested itself when logging different users in and out on the same device. As the headers Map was final each call added to the header params which meant when logging in, then out, then in as a different user the old sessionToken remained and caused an Invalid SessionToken error.
Each base call now uses a master copy of the headers map so only the basic headers and the additional ones required for the specific call are passed.
This now has 2 additional methods added to the User object
As I eat my own dog food (never did like that phrase, but it kinda fits) I will put some code snippets on the project Wiki here.
For package install see here.
For help getting started with Flutter, view the online documentation.
- Built-in types and core primitives for a Flutter application. [...]
- Support for asynchronous programming, with classes such as Future and Stream. [...]
- Classes and utilities that supplement the collection support in dart:core. [...]
- Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
- Built-in types, collections, and other core functionality for every Dart program. [...]
- Interact with developer tools such as the debugger and inspector. [...]
- Mathematical constants and functions, plus a random number generator. [...]
- Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]
- File, socket, HTTP, and other I/O support for non-web applications. [...]
- Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]