package method

  1. @override
Future<Package?> package(
  1. String id
)
override

The package with id, or null.

Implementation

@override
Future<Package?> package(String id) async => _maybe(
  await _call(StoreProtocol.packageGet, {'id': id}),
  Package.fromJson,
);