recordSuccessfulAttempt method
void
recordSuccessfulAttempt()
Records a successful authentication attempt.
This resets the failed attempt counter.
Implementation
void recordSuccessfulAttempt() {
_failedAttempts = 0;
_lastFailedAttempt = null;
_failedAttemptHistory.clear();
}