VisProfilerOptions.minimal constructor

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

Create options with all features disabled (minimal data collection)

Implementation

const VisProfilerOptions.minimal({
  this.enableLocation = false,
  this.enableNetworkInfo = false,
  this.enableAdId = false,
  this.enableDeviceInfo =
      true, // Always keep device info for basic functionality
  this.enablePublicIp = false,
  this.enablePeriodicSending = false,
  this.sendIntervalMs = 180000,
  this.enableLogging = true,
  this.enableCaching = true,
  this.enableInitialDataSend = false,
});