We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931076d commit c78a07dCopy full SHA for c78a07d
lib/src/log_level.dart
@@ -20,4 +20,12 @@ enum Level {
20
final int value;
21
22
const Level(this.value);
23
+
24
+ bool operator <(Level other) => index < other.index;
25
26
+ bool operator <=(Level other) => index <= other.index;
27
28
+ bool operator >(Level other) => index > other.index;
29
30
+ bool operator >=(Level other) => index >= other.index;
31
}
0 commit comments