MethodChannelFlutterDeviceSecurity class

An implementation of FlutterDeviceSecurityPlatform that uses method channels.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkDeviceVersion() → Future<String>
Checks the current device OS version.
override
getHasBiometric() → Future<bool>
Checks if biometric authentication is available (Android only).
override
getHasPasscode() → Future<bool>
Checks if device has passcode/lock screen protection.
override
getHasUsbDebugging() → Future<bool>
Checks if USB debugging is enabled (Android only).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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