ExternalRef constructor

const ExternalRef({
  1. Input<ExternalRefCategory>? category,
  2. Input<String>? comment,
  3. Input<String>? locator,
  4. Input<String>? type,
})

Creates a new ExternalRef. 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 ExternalRef({
  this.category,
  this.comment,
  this.locator,
  this.type,
});