IntegrityCheckConfig constructor
const
IntegrityCheckConfig({})
Creates a new instance of IntegrityCheckConfig.
By default, it checks for Root/Jailbreak and Emulators, but ignores Developer Mode.
Implementation
const IntegrityCheckConfig({
this.blockIfRootedOrJailbroken = true,
this.blockIfDeveloperMode = false,
this.blockIfEmulatorOrSimulator = true,
this.usePlayIntegrity = false,
this.cloudProjectNumber,
this.nonce,
this.requestHash,
}) : assert(
!usePlayIntegrity || cloudProjectNumber != null,
'cloudProjectNumber cannot be null when usePlayIntegrity is true.',
);