ShieldConfig constructor
ShieldConfig({
- required String siteID,
- required String key,
- ShieldCallback? shieldCallback,
- bool enableBackgroundListener = false,
- bool enableMocking = false,
- String? partnerId,
- ShieldEnvironment environment = ShieldEnvironment.prod,
- ShieldLogLevel logLevel = ShieldLogLevel.none,
- 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});