BiometricAuthException.fromPlatformException constructor
BiometricAuthException.fromPlatformException()
Implementation
factory BiometricAuthException.fromPlatformException(PlatformException e) {
return BiometricAuthException(
BiometricError.fromCode(e.code),
e.message ?? 'Biometric authentication failed',
);
}