ExternalRefResponse constructor
const
ExternalRefResponse({})
Creates a new ExternalRefResponse.
category An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
comment Human-readable information about the purpose and target of the reference
locator The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
type Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)
Implementation
const ExternalRefResponse({
required this.category,
required this.comment,
required this.locator,
required this.type,
});