Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 995 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 995 Bytes

flutter_rest_data

This package is built on top of rest_data. It uses sembast to store on local device all data coming from your REST backend.

CI

Introduction

It provides your app with a REST Adapter which behaves as follows - see rest_data's Readme to learn what an Adapter is in these packages 😉

  • While device is online, it just stores on local device all REST data coming from the backend.
  • When device is offline:
    • it returns data from local device on read operations
    • it stores added, updated and deleted records on local device
  • When device gets back online (TODO):
    • it processes added, updated and deleted queues by sending the appropriate requests to the REST backend.

To be continued...