BatchingAnalyticsAdapter class
Batching analytics adapter that collects events before sending
- Implemented types
Constructors
- BatchingAnalyticsAdapter(AirAnalyticsAdapter _delegate, {int batchSize = 10, Duration maxDelay = const Duration(seconds: 30)})
Properties
Methods
-
flush(
) → void - Manually flush the batch
-
logEvent(
String name, Map< String, dynamic> ? parameters) → void -
Log a custom event
override
-
logModuleInteraction(
String source, String target, String type) → void -
Log a module interaction
override
-
logSignal(
String signalName, dynamic data) → void -
Log a signal emission
override
-
logStateChange(
String key, dynamic oldValue, dynamic newValue) → void -
Log a state change
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited