syncdrift_annotations 0.1.1
syncdrift_annotations: ^0.1.1 copied to clipboard
Annotations for the syncdrift_flutter database framework (@Repository, @Cached, @SyncTable, @HasMany, @BelongsTo).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add syncdrift_annotationsWith Flutter:
$ flutter pub add syncdrift_annotationsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
syncdrift_annotations: ^0.1.1Alternatively, 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:syncdrift_annotations/syncdrift_annotations.dart';