authenticate method
Authenticates the user using biometric authentication.
Implementation
Future<bool> authenticate() async {
return await _localAuth.authenticate(
localizedReason: '',
authMessages: [
const AndroidAuthMessages(
signInTitle: 'Seguridad biométrica TaskManager',
biometricHint: '',
cancelButton: 'Cancel',
),
],
options: const AuthenticationOptions(
stickyAuth: false,
sensitiveTransaction: true,
),
);
}