title: Do Enums in Dart have comparison operators?
body: <p>I come from a Kotlin background and I used to the fact that enums there implements <code>Comparable</code>, which allows me do something like below:</p>
  <p>Given a enum</p>
  <pre><code>enum class Fruit{
    APPLE,
    BANANA,
    ORANGE,
  }
  </code></pre>
  <p>I could use the operators <code>&lt;</code>, <code>&gt;</code>, <code>&lt;=</code> or <code>&gt;=</code>, to compare any occurrence of this enum, like:</p>
  <pre><code>APPLE &lt; BANANA -&gt; true
  ORANGE &lt; BANANA -&gt; false
  </code></pre>
  <p>I wonder if dart has the same by default or if I have to define custom operators to any enum I might need that.</p>