9
Data Persistence and Communicating with the Internet
Most applications, especially business applications, need to perform CRUD tasks: Create, Read, Update, and Delete data. In this chapter, we will cover recipes that explain how to perform CRUD operations in Flutter.
Data can be persisted locally or remotely. Regardless of the destination of your data, in several cases, it will need to be transformed into JSON before it can be persisted, so we will begin by talking about the JSON format in Dart and Flutter. This will be helpful for several technologies you might decide to use in your future apps, including SQLite, Sembast, and Firebase databases. These are all based on sending and retrieving JSON data.
Interacting with data generally requires ...
Get Flutter Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.