status method
Future<PackageStatus>
status(
- PackageRef ref,
- Version version,
- SystemCache cache, {
- Duration? maxAge,
inherited
Returns metadata about a given package-version.
For remotely hosted packages, the information can be cached for up to
maxAge
. If maxAge
is not given, the information is not cached.
In the case of offline sources, maxAge
is not used, since information is
per definition cached.
Implementation
Future<PackageStatus> status(
PackageRef ref,
Version version,
SystemCache cache, {
Duration? maxAge,
}) async {
return PackageStatus();
}