Configuration constructor

Configuration(
  1. String writeKey, {
  2. String? apiHost,
  3. bool autoAddHightouchDestination = true,
  4. bool collectDeviceId = false,
  5. String cdnHost = HTTPClient.defaultCDNHost,
  6. Map<String, dynamic>? defaultIntegrationSettings,
  7. ErrorHandler? errorHandler,
  8. List<FlushPolicy>? flushPolicies,
  9. StreamSubscription<AppStatus> appStateStream()?,
  10. RequestFactory? requestFactory,
  11. bool trackApplicationLifecycleEvents = false,
  12. bool trackDeeplinks = false,
  13. bool debug = false,
  14. int? maxBatchSize,
  15. bool? storageJson = true,
  16. 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});