metadatum abstract method
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);