metadatum abstract method

Object? metadatum(
  1. String packageName,
  2. String key
)

Metadata from a direct dependency.

The packageName of is the package name of the direct dependency.

Returns null if metadata was not provided.

Not available during a dryRun. Will throw a StateError if accessed during a dryRun.

Implementation

Object? metadatum(String packageName, String key);