locorda_objects 0.5.2
locorda_objects: ^0.5.2 copied to clipboard
Type-safe Dart API for Locorda CRDT sync. Wraps SyncEngine with ObjectSyncEngine — save<T>(), hydrateStream<T>(), delete<T>() without handling RDF directly.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add locorda_objectsWith Flutter:
$ flutter pub add locorda_objectsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
locorda_objects: ^0.5.2Alternatively, 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:locorda_objects/locorda_objects.dart';