DeviceSecurityStatus class

Result of a device integrity check.

Constructors

DeviceSecurityStatus({required bool isJailbroken, required bool isDeveloperMode})
Creates a DeviceSecurityStatus.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDeveloperMode → bool
Whether Android developer / USB debugging mode is enabled.
final
isJailbroken → bool
Whether the device is rooted (Android) or jailbroken (iOS).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldBlock({required bool blockOnJailbreak, required bool blockOnDeveloperMode}) → bool
Whether the device should be blocked given the caller's policy flags.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited