authenticate method

  1. @override
Future<bool> authenticate({
  1. required String message,
})
override

Implementation

@override
Future<bool> authenticate({
  required String message,
}) async {
  if (is_support_local_auth) {
    return await localAuthentication.authenticate(localizedReason: message);
  }
  return false;
}