title: Easily check if a number is in a given Range in Dart?
body: <p>Is there an operator or function in Dart to easily verify if a number is in a range? Something like Kotlin <code>in</code> operator: </p>
  
  <p><a href="https://kotlinlang.org/docs/reference/ranges.html" rel="noreferrer">https://kotlinlang.org/docs/reference/ranges.html</a></p>
  
  <pre><code>if (i in 1..10) { // equivalent of 1 &lt;= i &amp;&amp; i &lt;= 10
      println(i)
  }
  </code></pre>