diagnosticOptOut method Null safety

LDConfigBuilder diagnosticOptOut(
  1. bool diagnosticOptOut

Set to true to opt out of sending diagnostics data.

Unless LDConfig.diagnosticOptOut is true, the client will send some diagnostics data to the LaunchDarkly servers in order to assist in the development of future SDK improvements. These diagnostics consist of an initial payload containing some details of the SDK in use, the SDK's configuration, and the platform the SDK is being run on; as well as payloads sent periodically with information on irregular occurrences such as dropped events.

See LDConfigBuilder.diagnosticRecordingIntervalMillis for configuration of periodic payload frequency.


LDConfigBuilder diagnosticOptOut(bool diagnosticOptOut) {
  this._diagnosticOptOut = diagnosticOptOut;
  return this;