@@ -32,7 +32,7 @@ abstract class PackageConfig {
3232 /// absolute directory URIs, valid language version, if any),
3333 /// and there must not be two packages with the same name.
3434 ///
35- /// The package's root ([Package.rootUri ] ) and package-root
35+ /// The package's root ([Package.root ] ) and package-root
3636 /// ([Package.packageUriRoot] ) paths must satisfy a number of constraints
3737 /// We say that one path (which we know ends with a `/` charater)
3838 /// is inside another path, if the latter path is a prefix of the former path,
@@ -95,7 +95,7 @@ abstract class PackageConfig {
9595
9696 /// Parses the JSON data of a package configuration file.
9797 ///
98- /// The [configuration ] must be a JSON-like Dart data structure,
98+ /// The [jsonData ] must be a JSON-like Dart data structure,
9999 /// like the one provided by parsing JSON text using `dart:convert` ,
100100 /// containing a valid package configuration.
101101 ///
@@ -167,7 +167,7 @@ abstract class PackageConfig {
167167 /// Provides the associated package for a specific [file] (or directory).
168168 ///
169169 /// Returns a [Package] which contains the [file] 's path, if any.
170- /// That is, the [Package.rootUri ] directory is a parent directory
170+ /// That is, the [Package.root ] directory is a parent directory
171171 /// of the [file] 's location.
172172 ///
173173 /// Returns `null` if the file does not belong to any package.
@@ -247,7 +247,7 @@ abstract class Package {
247247 /// Is always an absolute URI with no query or fragment parts,
248248 /// and with a path ending in `/` .
249249 ///
250- /// All files in the [rootUri ] directory are considered
250+ /// All files in the [root ] directory are considered
251251 /// part of the package for purposes where that that matters.
252252 Uri get root;
253253
0 commit comments