pub_package_data library

Provides data about packages published to pub.dartlang.org.

Classes

Package
Class prepresentation of <package>.json file.
PackagePage
Class prepresentation of packages.json file.

Constants

packageList → const List<String>
const <String>["http_utils", "slot_machine", "cryptoutils", "purity", "transmittable", "simple_exportable", "dilithium", &qu…

Properties

PACKAGES_DATA_URI String
final

Functions

fetchAllPackageNames() Future<List<String>>
Fetches all the packages and puts them into Package objects
fetchAllPackagePages() Future<List<PackagePage>>
Fetch all pages of packages.json file and return as List of PubPackages objects.
fetchAllPackages() Future<List<Package>>
Fetches all the packages and puts them into Package objects
fetchPackage(String packageJsonUri) Future<Package>
Fetch a particular <package>.json file and return Package
fetchPackagePage([int page]) Future<PackagePage>
Fetch packages.json file and return PubPackages
pubInstall(String workingDirectory) int
Execute pub install at the workingDirectory