TealiumConfig constructor

TealiumConfig(
  1. String account,
  2. String profile,
  3. TealiumEnvironment environment,
  4. List<Collectors> collectors,
  5. List<Dispatchers> dispatchers, {
  6. String? dataSource,
  7. String? customVisitorId,
  8. bool? memoryReportingEnabled,
  9. String? overrideCollectURL,
  10. String? overrideCollectProfile,
  11. String? overrideCollectBatchURL,
  12. String? overrideCollectDomain,
  13. String? overrideLibrarySettingsURL,
  14. String? overrideTagManagementURL,
  15. bool? deepLinkTrackingEnabled,
  16. bool? qrTraceEnabled,
  17. LogLevel? loglevel,
  18. bool? consentLoggingEnabled,
  19. ConsentPolicy? consentPolicy,
  20. ConsentExpiry? consentExpiry,
  21. bool? batchingEnabled,
  22. bool? lifecycleAutotrackingEnabled,
  23. bool? useRemoteLibrarySettings,
  24. bool? visitorServiceEnabled,
  25. bool? sessionCountingEnabled,
  26. List<RemoteCommand>? remoteCommands,
  27. String? visitorIdentityKey,
  28. 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();
}