# resetState method

void resetState()

Resets the liveness check state.

This will reset blink count, smile status, and error messages without reinitializing the camera.

## Implementation

    void resetState() {
      if (_onResetState != null) {
        _onResetState!();
      } else {
        debugPrint(
          'LivenessCheckController: Reset callback not registered. '
          'Make sure the controller is attached to LivenessCheckScreen.',
        );
      }
    }