sync_outbox 0.1.0
sync_outbox: ^0.1.0 copied to clipboard
Storage-agnostic outbox for offline-first Dart and Flutter apps: queue mutations offline, then deliver them in order with retries, backoff, coalescing and conflict handling.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sync_outboxWith Flutter:
$ flutter pub add sync_outboxThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sync_outbox: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sync_outbox/sync_outbox.dart';