Config constructor
Config({
- required String accessToken,
- bool analyticsEventEnabled = true,
- bool crashReportingEnabled = true,
- bool httpResponseBodyCaptureEnabled = true,
- bool interactionTracingEnabled = true,
- bool loggingEnabled = true,
- bool networkErrorRequestEnabled = true,
- bool networkRequestEnabled = true,
- bool webViewInstrumentation = true,
- bool printStatementAsEventsEnabled = true,
- bool httpInstrumentationEnabled = true,
- bool fedRampEnabled = false,
- bool offlineStorageEnabled = true,
- bool backgroundReportingEnabled = false,
- bool distributedTracingEnabled = true,
- bool newEventSystemEnabled = false,
- String collectorAddress = "",
- String crashCollectorAddress = "",
- 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});