startLockTimer method
void
startLockTimer()
Implementation
void startLockTimer() {
_lockTimer?.cancel();
if (_config.lockTimeout != null && _state is AuthenticatedState) {
_lockTimer = Timer(_config.lockTimeout!, () {
if (_state is AuthenticatedState) {
_setState(const LockScreenState());
}
});
}
}