commit | 92aed9ef6fe61597de7f0851186be0c8120a5c4e | [log] [tgz] |
---|---|---|
author | Lasse R.H. Nielsen <lrn@google.com> | Wed Dec 02 16:23:00 2020 +0100 |
committer | GitHub <noreply@github.com> | Wed Dec 02 16:23:00 2020 +0100 |
tree | a134e8ebd5b4989828b3c637d4ce775bc79e6fae | |
parent | 04b9abec2627dfaf9b7ec39c31a3b03f06ed9be7 [diff] |
Migrate to null safety (#93) * Migrate non-deprecated libraries to null safety. * Major version increment, removing deprecated APIs. This is the null safe, non-deprecated API for package_config.json file manipulation. Also address #86.
Support for working with Package Configuration files as described in the Package Configuration v2 design document.
The primary libraries are
package_config.dart
: Defines the PackageConfig
class and other types needed to use package configurations, and provides functions to find, read and write package configuration files.
package_config_types.dart
: Just the PackageConfig
class and other types needed to use package configurations. This library does not depend on dart:io
.
The package includes deprecated backwards compatible functionality to work with the .packages
file. This functionality will not be maintained, and will be removed in a future version of this package.