BiometricAuthorizationPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- BiometricAuthorizationPlatform
- Implementers
Constructors
- BiometricAuthorizationPlatform.new()
- Constructs a BiometricAuthorizationPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
{BiometricType biometricType = BiometricType.none, String reason = "Authenticate", String? title, String? confirmText, bool useCustomUI = false, bool useDialogUI = false, String? cancelText}) → Future< bool> - Authenticate with biometric.
-
getAvailableBiometricTypes(
) → Future< List< BiometricType> > - Get available biometric types on the device.
-
getPlatformVersion(
) → Future< String?> -
isBiometricAvailable(
) → Future< bool> - Check if biometric is available on the device.
-
isBiometricEnrolled(
) → Future< bool> - Check if biometric is enrolled on the device.
-
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
Static Properties
- instance ↔ BiometricAuthorizationPlatform
-
The default instance of BiometricAuthorizationPlatform to use.
getter/setter pair