Configuration constructor

const Configuration({
  1. bool reportCrash = defaultReportCrash,
  2. LogLevel logLevel = defaultLogLevel,
  3. String? beaconUrl,
  4. String? applicationId,
  5. bool certificateValidation = defaultCertificateValidation,
  6. bool userOptIn = defaultUserOptIn,
})

Constructor of configuration class.

Implementation

const Configuration(
    {bool reportCrash = defaultReportCrash,
    LogLevel logLevel = defaultLogLevel,
    String? beaconUrl,
    String? applicationId,
    bool certificateValidation = defaultCertificateValidation,
    bool userOptIn = defaultUserOptIn})
    : _reportCrash = reportCrash,
      _logLevel = logLevel,
      _applicationId = applicationId,
      _beaconUrl = beaconUrl,
      _certificateValidation = certificateValidation,
      _userOptIn = userOptIn;