Index: sdk/lib/_internal/pub/lib/src/source.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/source.dart b/sdk/lib/_internal/pub/lib/src/source.dart |
index 0235792e09bae5f34aae4f07eccea0e4bd17199d..4152384e1589d4fa67999c1ce7c4191afb9f374e 100644 |
--- a/sdk/lib/_internal/pub/lib/src/source.dart |
+++ b/sdk/lib/_internal/pub/lib/src/source.dart |
@@ -27,6 +27,12 @@ abstract class Source { |
/// all sources. |
String get name; |
+ /// Whether this source can choose between multiple versions of the same |
+ /// package during version solving. |
+ /// |
+ /// Defaults to `false`. |
+ final bool hasMultipleVersions = false; |
+ |
/// Whether or not this source is the default source. |
bool get isDefault => systemCache.sources.defaultSource == this; |