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,
})

Implementation

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