TealiumConfig constructor
TealiumConfig(
- String account,
- String profile,
- TealiumEnvironment environment,
- List<
Collectors> collectors, - List<
Dispatchers> dispatchers, { - String? dataSource,
- String? customVisitorId,
- bool? memoryReportingEnabled,
- String? overrideCollectURL,
- String? overrideCollectProfile,
- String? overrideCollectBatchURL,
- String? overrideCollectDomain,
- String? overrideLibrarySettingsURL,
- String? overrideTagManagementURL,
- bool? deepLinkTrackingEnabled,
- bool? qrTraceEnabled,
- LogLevel? loglevel,
- bool? consentLoggingEnabled,
- ConsentPolicy? consentPolicy,
- ConsentExpiry? consentExpiry,
- bool? batchingEnabled,
- bool? lifecycleAutotrackingEnabled,
- bool? useRemoteLibrarySettings,
- bool? visitorServiceEnabled,
- bool? sessionCountingEnabled,
- List<
RemoteCommand> ? remoteCommands, - String? visitorIdentityKey,
- bool? webViewLoggingEnabled,
Implementation
TealiumConfig(this.account, this.profile, TealiumEnvironment environment,
List<Collectors> collectors, List<Dispatchers> dispatchers,
// Optional TealiumConfig Parameters
{this.dataSource,
this.customVisitorId,
this.memoryReportingEnabled,
this.overrideCollectURL,
this.overrideCollectProfile,
this.overrideCollectBatchURL,
this.overrideCollectDomain,
this.overrideLibrarySettingsURL,
this.overrideTagManagementURL,
this.deepLinkTrackingEnabled,
this.qrTraceEnabled,
LogLevel? loglevel,
this.consentLoggingEnabled,
ConsentPolicy? consentPolicy,
ConsentExpiry? consentExpiry,
this.batchingEnabled,
this.lifecycleAutotrackingEnabled,
this.useRemoteLibrarySettings,
this.visitorServiceEnabled,
this.sessionCountingEnabled,
this.remoteCommands,
this.visitorIdentityKey,
this.webViewLoggingEnabled}) {
this.environment = environment.toString();
this.collectors = collectors.map((item) => item.toString()).toList();
this.dispatchers = dispatchers.map((item) => item.toString()).toList();
logLevel = loglevel?.toString();
this.consentPolicy = consentPolicy?.toString();
this.consentExpiry = consentExpiry?.toJson();
}