@@ -35,32 +35,14 @@ final class FilesystemImporter extends Importer {
3535 : _loadPath = p.absolute (loadPath),
3636 _loadPathDeprecated = false ;
3737
38- FilesystemImporter ._deprecated (String loadPath)
39- : _loadPath = p.absolute (loadPath),
40- _loadPathDeprecated = true ;
41-
4238 /// Creates an importer that _only_ loads absolute `file:` URLs and URLs
4339 /// relative to the current file.
4440 FilesystemImporter ._noLoadPath ()
4541 : _loadPath = null ,
4642 _loadPathDeprecated = false ;
4743
48- /// A [FilesystemImporter] that loads files relative to the current working
49- /// directory.
50- ///
51- /// Historically, this was the best default for supporting `file:` URL loads
52- /// when the load path didn't matter. However, adding the current working
53- /// directory to the load path wasn't always desirable, so it's no longer
54- /// recommended. Instead, either use [FilesystemImporter.noLoadPath] if the
55- /// load path doesn't matter, or `FilesystemImporter('.')` to explicitly
56- /// preserve the existing behavior.
57- @Deprecated (
58- "Use FilesystemImporter.noLoadPath or FilesystemImporter('.') instead." ,
59- )
60- static final cwd = FilesystemImporter ._deprecated ('.' );
61-
62- /// Creates an importer that _only_ loads absolute `file:` URLs and URLs
63- /// relative to the current file.
44+ /// An importer that _only_ loads absolute `file:` URLs and URLs relative to
45+ /// the current file.
6446 static final noLoadPath = FilesystemImporter ._noLoadPath ();
6547
6648 Uri ? canonicalize (Uri url) {
0 commit comments