biometricKeyExists method

  1. @override
Future<bool?> biometricKeyExists(
  1. bool checkValidity
)
override

Checks whether the biometric key exists, optionally validating the key.

Implementation

@override
Future<bool?> biometricKeyExists(bool checkValidity) async {
  try {
    return methodChannel.invokeMethod<bool>(
      'biometricKeyExists',
      checkValidity,
    );
  } on PlatformException catch (e) {
    debugPrint(e.message);
    return false;
  }
}