setState method
Implementation
void setState(KeyVerificationState newState) {
if (state != KeyVerificationState.error) {
state = newState;
}
onUpdate?.call();
}
void setState(KeyVerificationState newState) {
if (state != KeyVerificationState.error) {
state = newState;
}
onUpdate?.call();
}