BiometricAuthException.fromPlatformException constructor

BiometricAuthException.fromPlatformException(
  1. PlatformException e
)

Implementation

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