DigiaAnalyticsConfig class

Configuration for Digia analytics collection and dispatch.

Constructors

DigiaAnalyticsConfig({bool enabled = true, int flushIntervalMs = 10000, int flushBatchSize = 30, int maxBatchSize = 200, int queueMaxEvents = 5000, int sessionTimeoutMs = 30 * 60 * 1000})
const

Properties

enabled → bool
Whether analytics collection is enabled.
final
flushBatchSize → int
Number of queued events required to flush immediately.
final
flushIntervalMs → int
Flush interval in milliseconds for low-volume queues.
final
hashCode → int
The hash code for this object.
no setterinherited
maxBatchSize → int
Maximum number of events sent in one batch, from 1 to maxBatchSizeLimit. A value outside that range is clamped, with a warning.
final
queueMaxEvents → int
Maximum number of events stored in the local queue.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionTimeoutMs → int
Session idle timeout in milliseconds.
final

Methods

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

Constants

maxBatchSizeLimit → const int
The largest maxBatchSize the SDK uses. Each batch is decoded and encoded on the UI isolate and sent as one request, so a larger batch means a longer frame stall and a heavier request; a smaller one only means a few more requests, sent back to back.