Because the code that reads it has a an if statement for when `!= null`.

```dart
    String oppositeState = _getOppositeInfoState(state);
    if (oppositeState != null) {
      element.removeClass(oppositeState);
    }
```