pub_client library

Minimal pub.flutter-io.cn API client for downloading package sources.

Implements the pub repository spec v2 endpoints needed to resolve version constraints and download package archives.

Classes

PubClient
Lightweight pub.flutter-io.cn API client.
PubVersionInfo
Information about a single package version from the pub API.