Configuration constructor

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

Implementation

Configuration(this.writeKey,
    {this.apiHost,
    this.autoAddJournifyDestination = true,
    this.collectDeviceId = false,
    this.enableHashing = 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});