authFailed method

void authFailed({
  1. bool unlock = false,
})

Implementation

void authFailed({bool unlock = false}) {
  value = value.copyWith(authenticated: false);
  _authenticationEventsController
      .add(SecureApplicationAuthenticationStatus.FAILED);
  if (unlock) {
    this.unlock();
  }
  notifyListeners();
}