AvoBatcher class

Constructors

AvoBatcher({required SharedPreferences sharedPreferences, required AvoNetworkCallsHandler networkCallsHandler, required AvoSessionTracker sessionTracker, required String avoInstallationId})

Properties

avoInstallationId String
final
batchFlushAttemptTimestamp → dynamic
no setter
events List<BaseBody>
no setter
hashCode int
The hash code for this object.
no setterinherited
networkCallsHandler AvoNetworkCallsHandler
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionTracker AvoSessionTracker
final
sharedPreferences → SharedPreferences
final

Methods

handleTrackSchema({required String eventName, required List<Map<String, dynamic>> eventSchema, String? eventId, String? eventHash}) → void
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

Static Properties

batchFlushSecondsThreshold int
getter/setter pair
batchSizeThreshold int
getter/setter pair

Constants

diskBatcherStorageCacheKey → const String