APMFlutterConfig constructor

APMFlutterConfig({
  1. String? appId = '',
  2. String? authorization,
  3. String? region,
  4. String? url,
  5. String? uid,
  6. String? tag,
  7. List? networkWhiteList,
  8. String traceType = 'apm',
  9. int cacheThreshold = 200,
  10. int timeInterval = 60,
  11. bool reportBackground = true,
  12. bool reportLaunch = false,
  13. bool enableNetwork = true,
  14. bool enableCrash = true,
  15. bool enableLaunch = true,
  16. bool enableANR = true,
  17. bool enableError = true,
  18. bool enableDevice = true,
  19. bool enableEvent = true,
  20. double samplingRate = 1.0,
})

Constructor for APMFlutterConfig

Implementation

APMFlutterConfig({
  this.appId = '',
  this.authorization,
  this.region,
  this.url,
  this.uid,
  this.tag,
  this.networkWhiteList,
  this.traceType = 'apm',
  this.cacheThreshold = 200,
  this.timeInterval = 60,
  this.reportBackground = true,
  this.reportLaunch = false,
  this.enableNetwork = true,
  this.enableCrash = true,
  this.enableLaunch = true,
  this.enableANR = true,
  this.enableError = true,
  this.enableDevice = true,
  this.enableEvent = true,
  this.samplingRate = 1.0,
});