Index: lib/logging.dart |
diff --git a/lib/logging.dart b/lib/logging.dart |
index 5f4bc2be8ae4cbaf2a85652190cbc22045c7fbba..dc83d84899f9529508050411fe10212252ea273b 100644 |
--- a/lib/logging.dart |
+++ b/lib/logging.dart |
@@ -278,7 +278,7 @@ class Level implements Comparable<Level> { |
static const List<Level> LEVELS = const |
[ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, SHOUT, OFF]; |
- bool operator ==(Object other) => other is Level && value == other.value; |
+ bool operator ==(other) => other is Level && value == other.value; |
bool operator <(Level other) => value < other.value; |
bool operator <=(Level other) => value <= other.value; |
bool operator >(Level other) => value > other.value; |