firebase_utils 1.0.1 firebase_utils: ^1.0.1 copied to clipboard
Range of utilities for Firestore and Fire Storage, including CRUD operations and other essential functions
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add firebase_utils
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
firebase_utils: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:firebase_utils/base/response.dart';
import 'package:firebase_utils/entity/firestore_doc.dart';
import 'package:firebase_utils/firebase/firebase_storage_service.dart';
import 'package:firebase_utils/firebase/firebase_storage_service_impl.dart';
import 'package:firebase_utils/firebase/firestore_fields.dart';
import 'package:firebase_utils/firebase/firestore_service.dart';
import 'package:firebase_utils/firebase/firestore_service_impl.dart';