title: Nullable variable throws NullPointerException on get()
body: <p>Here is some mistic error. I have such a code:</p>
  <pre><code>if (countryCode.value.code != US_CODE){
        doSomething()
  }
  </code></pre>
  <p>&quot;If&quot; line throws Error: NullPointerException: Attempt to invoke virtual method 'java.lang.String com.data.models.CountryCodeValue.getCode()' on a null object reference</p>
  <p>&quot;code&quot; field is nullable, and I don't get why it happens</p>
  <p>CountryCodeValue model:</p>
  <pre><code>data class CountryCodeValue(
      val code: String? = null,
      val name: String,
      var description: String
  )
  </code></pre>