ShieldConfig constructor

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

Implementation

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