title: What does "Expecting member declaration" mean?
body: <p>I am creating this class as part of a tutorial for Compose navigation.</p>
  <pre><code>sealed class Screens(val route: String) {
      object Screen1 : Screens( route: &quot;screen1&quot;)
      object Screen2 : Screens( route: &quot;screen2&quot;)
  }
  </code></pre>
  <p>I am getting the error &quot;Expecting member declaration&quot;. What does this error mean in simple terms?</p>