Last updated:
0 purchases
monikode event store
Event Store #
Description #
This is 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).
Installation #
To install the event store, you can use the following command:
flutter pub add monikode_event_store
copied to clipboard
Usage #
To use the event store, you need to import the class in your file:
import 'package:monikode_event_store/monikode_event_store.dart';
copied to clipboard
You can also use the following methods:
var instance = EventStore.getInstance();
instance.eventLogger.logEvent("login", EventLevel.info, {
"custom_parameter": "custom_value",
});
copied to clipboard
License #
This project is licensed under the MIT License - see the LICENSE file for details.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.