ExternalRef class

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

Constructors

ExternalRef({String? category, String? comment, String? locator, String? type})
ExternalRef.fromJson(Map _json)

Properties

category String?
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 Possible string values are:
getter/setter pair
comment String?
Human-readable information about the purpose and target of the reference
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
locator String?
The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
Type of category (e.g. 'npm' for the PACKAGE_MANAGER category)
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited