PackageConfigFileBuilder class
Helper for building .dart_tool/package_config.json files.
See accepted/future-releases/language-versioning/package-config-file-v2.md in https://github.com/dart-lang/language/
Constructors
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  add({required String name, required String rootPath, String packageUri = 'lib/', String? languageVersion}) → void 
- 
  The rootPathwill be given totoUriStrof toContent to produce the correspondingfile://URI, normally a POSIX path.
- 
  copy() → PackageConfigFileBuilder 
- Copies this PackageConfigFileBuilder into a new instance.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toContent({required Context pathContext}) → String 
- Returns the contents of the built package config file.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited