| Index: lib/src/version_range.dart | 
| diff --git a/lib/src/version_range.dart b/lib/src/version_range.dart | 
| index 668b9b28ee7d7f5f82b049dc0c5956ad1cdbdfbb..145151f0af2e446b28aa516241ad046d3fea47f2 100644 | 
| --- a/lib/src/version_range.dart | 
| +++ b/lib/src/version_range.dart | 
| @@ -124,7 +124,7 @@ class VersionRange implements VersionConstraint { | 
| if (other is Version) return allows(other); | 
|  | 
| if (other is VersionUnion) { | 
| -      return other.constraints.every((constraint) => allowsAll(constraint)); | 
| +      return other.ranges.every((constraint) => allowsAll(constraint)); | 
| } | 
|  | 
| if (other is VersionRange) { | 
| @@ -151,7 +151,7 @@ class VersionRange implements VersionConstraint { | 
| if (other is Version) return allows(other); | 
|  | 
| if (other is VersionUnion) { | 
| -      return other.constraints.any((constraint) => allowsAny(constraint)); | 
| +      return other.ranges.any((constraint) => allowsAny(constraint)); | 
| } | 
|  | 
| if (other is VersionRange) { | 
|  |