flutter_offline_sync_core 0.1.0
flutter_offline_sync_core: ^0.1.0 copied to clipboard
Offline-first sync engine for Flutter/Dart apps. Models writes as a DAG of Jobs and Steps so that dependent API calls (e.g. upload image -> use its URL in a follow-up request) can be queued offline, e [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_offline_sync_coreThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_offline_sync_core: ^0.1.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_offline_sync_core/flutter_offline_sync_core.dart';