pub_client 3.0.3 pub_client: ^3.0.3 copied to clipboard
A library for interacting with the REST API for Pub (pub.dartlang.org/api).
import 'package:pub_client/pub_client.dart';
main() async {
var client = new PubClient();
var package = await client.getPackage("test");
print(package.latest.version);
}