Index: lib/src/equality.dart |
diff --git a/lib/src/equality.dart b/lib/src/equality.dart |
index a97066407a6d7ff978364dce9fc10254b7178876..2c6c272c206ee4e7253334559962e8bc71bda4f4 100644 |
--- a/lib/src/equality.dart |
+++ b/lib/src/equality.dart |
@@ -164,7 +164,7 @@ class ListEquality<E> implements Equality<List<E>> { |
} |
int hash(List<E> list) { |
- if (elements == null) return null.hashCode; |
+ if (list == null) return null.hashCode; |
// Jenkins's one-at-a-time hash function. |
// This code is almost identical to the one in IterableEquality, except |
// that it uses indexing instead of iterating to get the elements. |