AgentConfiguration constructor Null safety

AgentConfiguration(
  1. {required String appKey,
  2. String collectorURL = "https://mobile.eum-appdynamics.com",
  3. String screenshotURL = "https://mobile.eum-appdynamics.com",
  4. LoggingLevel loggingLevel = LoggingLevel.none,
  5. bool screenshotsEnabled = true,
  6. bool crashReportingEnabled = true,
  7. CrashReportCallback? crashReportCallback}
)

Implementation

AgentConfiguration({
  required this.appKey,
  this.collectorURL = "https://mobile.eum-appdynamics.com",
  this.screenshotURL = "https://mobile.eum-appdynamics.com",
  this.loggingLevel = LoggingLevel.none,
  this.screenshotsEnabled = true,
  this.crashReportingEnabled = true,
  this.crashReportCallback,
});