Config constructor

Config({
  1. required String accessToken,
  2. bool analyticsEventEnabled = true,
  3. bool crashReportingEnabled = true,
  4. bool httpResponseBodyCaptureEnabled = true,
  5. bool interactionTracingEnabled = true,
  6. bool loggingEnabled = true,
  7. bool networkErrorRequestEnabled = true,
  8. bool networkRequestEnabled = true,
  9. bool webViewInstrumentation = true,
  10. bool printStatementAsEventsEnabled = true,
  11. bool httpInstrumentationEnabled = true,
  12. bool fedRampEnabled = false,
  13. bool offlineStorageEnabled = true,
  14. bool backgroundReportingEnabled = false,
  15. bool distributedTracingEnabled = true,
  16. bool newEventSystemEnabled = false,
  17. String collectorAddress = "",
  18. String crashCollectorAddress = "",
  19. LogLevel logLevel = LogLevel.DEBUG,
})

Implementation

Config(
    {required this.accessToken,
    this.analyticsEventEnabled = true,
    this.crashReportingEnabled = true,
    this.httpResponseBodyCaptureEnabled = true,
    this.interactionTracingEnabled = true,
    this.loggingEnabled = true,
    this.networkErrorRequestEnabled = true,
    this.networkRequestEnabled = true,
    this.webViewInstrumentation = true,
    this.printStatementAsEventsEnabled = true,
    this.httpInstrumentationEnabled = true,
    this.fedRampEnabled = false,
    this.offlineStorageEnabled = true,
    this.backgroundReportingEnabled = false,
    this.distributedTracingEnabled = true,
    this.newEventSystemEnabled = false,
    this.collectorAddress = "",
    this.crashCollectorAddress = "",
    this.logLevel = LogLevel.DEBUG});