fire_api 1.1.9+5 fire_api: ^1.1.9+5 copied to clipboard
A stripped down interface for firestore databases which allows both dart servers using `fire_api_dart` and flutter apps using `fire_api_flutter` to use the same api.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fire_api
With Flutter:
$ flutter pub add fire_api
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fire_api: ^1.1.9+5
Alternatively, 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:fire_api/fire_api.dart';