PostHogConfig class

Constructors

PostHogConfig(String apiKey)

Properties

apiKey String
final
captureApplicationLifecycleEvents bool
getter/setter pair
dataMode PostHogDataMode
iOS only
getter/setter pair
debug bool
getter/setter pair
flushAt int
getter/setter pair
flushInterval Duration
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String
getter/setter pair
maxBatchSize int
getter/setter pair
maxQueueSize int
getter/setter pair
optOut bool
getter/setter pair
personProfiles PostHogPersonProfiles
getter/setter pair
preloadFeatureFlags bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendFeatureFlagEvents bool
getter/setter pair
sessionReplay bool
Enable Recording of Session replay for Android and iOS. Requires Record user sessions to be enabled in the PostHog Project Settings. Defaults to false.
getter/setter pair
sessionReplayConfig PostHogSessionReplayConfig
Configurations for Session replay. sessionReplay has to be enabled for this to take effect.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited