packageInfo method

Future<PubPackage> packageInfo(
  1. String packageName
)

Returns the PubPackage information for packageName

Implementation

Future<PubPackage> packageInfo(String packageName) async {
  final data = await _fetch(endpoint.packageInfo(packageName));
  return PubPackage.fromMap(data);
}