AppMetricaConfig constructor

const AppMetricaConfig(
  1. String apiKey, {
  2. bool? anrMonitoring,
  3. int? anrMonitoringTimeout,
  4. int? appBuildNumber,
  5. Map<String?, String?>? appEnvironment,
  6. bool? appOpenTrackingEnabled,
  7. String? appVersion,
  8. bool? crashReporting,
  9. List<String?>? customHosts,
  10. bool? dataSendingEnabled,
  11. String? deviceType,
  12. int? dispatchPeriodSeconds,
  13. Map<String?, String?>? errorEnvironment,
  14. bool? flutterCrashReporting,
  15. bool? firstActivationAsUpdate,
  16. AppMetricaLocation? location,
  17. bool? locationTracking,
  18. bool? logs,
  19. int? maxReportsCount,
  20. int? maxReportsInDatabaseCount,
  21. bool? nativeCrashReporting,
  22. AppMetricaPreloadInfo? preloadInfo,
  23. bool? revenueAutoTrackingEnabled,
  24. int? sessionTimeout,
  25. bool? sessionsAutoTrackingEnabled,
  26. String? userProfileID,
})

Creates an AppMetrica library configuration object. apiKey is a required parameter.

Implementation

const AppMetricaConfig(
  this.apiKey, {
      this.anrMonitoring,
      this.anrMonitoringTimeout,
      this.appBuildNumber,
      this.appEnvironment,
      this.appOpenTrackingEnabled,
      this.appVersion,
      this.crashReporting,
      this.customHosts,
      this.dataSendingEnabled,
      this.deviceType,
      this.dispatchPeriodSeconds,
      this.errorEnvironment,
      this.flutterCrashReporting,
      this.firstActivationAsUpdate,
      this.location,
      this.locationTracking,
      this.logs,
      this.maxReportsCount,
      this.maxReportsInDatabaseCount,
      this.nativeCrashReporting,
      this.preloadInfo,
      this.revenueAutoTrackingEnabled,
      this.sessionTimeout,
      this.sessionsAutoTrackingEnabled,
      this.userProfileID,
    });