firestore_repository_helper 3.0.0
firestore_repository_helper: ^3.0.0 copied to clipboard
A package to easily implement a firestore repository of any model type with all CRUD methods including custom query.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add firestore_repository_helperWith Flutter:
$ flutter pub add firestore_repository_helperThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
firestore_repository_helper: ^3.0.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:firestore_repository_helper/firestore_repository_helper.dart';