VisProfilerOptions.essential constructor

const VisProfilerOptions.essential({
  1. bool enableLocation = false,
  2. bool enableNetworkInfo = true,
  3. bool enableAdId = false,
  4. bool enableDeviceInfo = true,
  5. bool enablePublicIp = false,
  6. bool enablePeriodicSending = true,
  7. int sendIntervalMs = 180000,
  8. bool enableLogging = true,
  9. bool enableCaching = true,
  10. bool enableInitialDataSend = false,
})

Create options with only essential features enabled

Implementation

const VisProfilerOptions.essential({
  this.enableLocation = false,
  this.enableNetworkInfo = true,
  this.enableAdId = false,
  this.enableDeviceInfo = true,
  this.enablePublicIp = false,
  this.enablePeriodicSending = true,
  this.sendIntervalMs = 180000,
  this.enableLogging = true,
  this.enableCaching = true,
  this.enableInitialDataSend = false,
});