LocalDbReporter class
Reporter that stores events locally using a Hive Box.
Enables offline-first logging: events are saved on the device and can be flushed or synced later.
- Implemented types
Constructors
- LocalDbReporter(Box box)
Properties
- box → Box
-
The Hive box used to persist event data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
report(
Event r) → Future< void> -
Saves the Event to the local Hive box as JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited