getAvailability method

Future<AuthenticationAvailability> getAvailability({
  1. AuthenticationMethod method = AuthenticationMethod.biometricsOnly,
})

Tells whether the user can authenticate with the given method, and the reason why when they can not.

Implementation

Future<AuthenticationAvailability> getAvailability({
  AuthenticationMethod method = AuthenticationMethod.biometricsOnly,
}) {
  throw UnimplementedError('getAvailability() has not been implemented.');
}