AtomicConfig constructor
AtomicConfig({
- required String publicToken,
- String? scope,
- List<
AtomicTask> ? tasks, - @Deprecated("This has been moved to 'tasks'") AtomicProductType? product,
- AtomicProductType? additionalProduct,
- @Deprecated("This has been moved to 'tasks'") AtomicDistribution? distribution,
- String? linkedAccount,
- AtomicTheme? theme,
- String language = 'en',
- AtomicDeeplink? deeplink,
- Map<
String, String> ? metadata, - AtomicSearch? search,
- List<
AtomicTransactHandoff> ? handoff, - AtomicExperiments? experiments,
- Customer? customer,
Implementation
AtomicConfig({
required this.publicToken,
this.scope,
this.tasks,
@Deprecated("This has been moved to 'tasks'") this.product,
this.additionalProduct,
@Deprecated("This has been moved to 'tasks'") this.distribution,
this.linkedAccount,
this.theme,
this.language = 'en',
this.deeplink,
this.metadata,
this.search,
this.handoff,
this.experiments,
this.customer,
}) : assert(tasks != null || product != null,
'AtomicConfig requires a valid tasks list or a valid product type');