Configuration constructor
Configuration(
- String writeKey, {
- String? apiHost,
- bool autoAddHightouchDestination = true,
- bool collectDeviceId = false,
- String cdnHost = HTTPClient.defaultCDNHost,
- Map<
String, dynamic> ? defaultIntegrationSettings, - ErrorHandler? errorHandler,
- List<
FlushPolicy> ? flushPolicies, - StreamSubscription<
AppStatus> appStateStream()?, - RequestFactory? requestFactory,
- bool trackApplicationLifecycleEvents = false,
- bool trackDeeplinks = false,
- bool debug = false,
- int? maxBatchSize,
- bool? storageJson = true,
- String? token,
Implementation
Configuration(this.writeKey,
{this.apiHost,
this.autoAddHightouchDestination = true,
this.collectDeviceId = false,
this.cdnHost = HTTPClient.defaultCDNHost,
this.defaultIntegrationSettings,
this.errorHandler,
this.flushPolicies,
this.appStateStream,
this.requestFactory,
this.trackApplicationLifecycleEvents = false,
this.trackDeeplinks = false,
this.debug = false,
this.maxBatchSize,
this.storageJson = true,
this.token});