packageScore method

Future<PackageScore> packageScore(
  1. String packageName
)

Returns the PackageScore for package packageName

Implementation

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