monikode_event_store 1.0.1 monikode_event_store: ^1.0.1 copied to clipboard
A singleton service to log event into a Firebase Firestore database. Can also log events locally into the console with different log levels(debug, info, warning, error, trace).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add monikode_event_store
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
monikode_event_store: ^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:monikode_event_store/monikode_event_store.dart';