ShieldConfig constructor

ShieldConfig({
  1. required String siteID,
  2. required String key,
  3. ShieldCallback? shieldCallback,
  4. bool enableBackgroundListener = false,
  5. bool enableMocking = false,
  6. bool blockScreenRecording = false,
  7. String? partnerId = "",
  8. ShieldEnvironment environment = ShieldEnvironment.prod,
  9. ShieldLogLevel logLevel = ShieldLogLevel.none,
  10. BlockedDialog? defaultBlockedDialog,
})

Implementation

ShieldConfig({
  required this.siteID,
  required this.key,
  this.shieldCallback,
  this.enableBackgroundListener = false,
  this.enableMocking = false,
  this.blockScreenRecording = false,
  this.partnerId = "",
  this.environment = ShieldEnvironment.prod,
  this.logLevel = ShieldLogLevel.none,
  this.defaultBlockedDialog,
});