Index: utils/pub/package.dart |
diff --git a/utils/pub/package.dart b/utils/pub/package.dart |
index ffc754b15d7507f4c7f189be5edcb19c4f6b0157..00eaf842fef7f15947f318d5520dabd073b84c41 100644 |
--- a/utils/pub/package.dart |
+++ b/utils/pub/package.dart |
@@ -118,9 +118,9 @@ class PackageId implements Comparable { |
PackageId(this.name, this.source, this.version, this.description); |
- int hashCode() => name.hashCode() ^ |
- source.name.hashCode() ^ |
- version.hashCode(); |
+ int get hashCode => name.hashCode ^ |
+ source.name.hashCode ^ |
+ version.hashCode; |
bool operator ==(other) { |
if (other is! PackageId) return false; |