Package class

This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.

Constructors

Package({Input<PackageArchitecture>? architecture, Input<String>? cpeUri, Input<String>? description, Input<List<DigestContaineranalysisV1alpha1>>? digest, Input<List<DistributionContaineranalysisV1alpha1>>? distribution, Input<LicenseContaineranalysisV1alpha1>? license, Input<String>? maintainer, Input<String>? name, Input<String>? packageType, Input<String>? url, Input<VersionContaineranalysisV1alpha1>? version})
Creates a new Package. architecture The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. cpeUri The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. description The description of this package. digest Hash value, typically a file digest, that allows unique identification a specific package. distribution The various channels by which a package is distributed. license Licenses that have been declared by the authors of the package. maintainer A freeform text denoting the maintainer of this package. name The name of the package. packageType The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). url The homepage for this package. version The version of the package.
const
Package.fromMap(Map<String, dynamic> map)
factory

Properties

architecture → Input<PackageArchitecture>?
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
final
cpeUri → Input<String>?
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
final
description → Input<String>?
The description of this package.
final
digest → Input<List<DigestContaineranalysisV1alpha1>>?
Hash value, typically a file digest, that allows unique identification a specific package.
final
distribution → Input<List<DistributionContaineranalysisV1alpha1>>?
The various channels by which a package is distributed.
final
hashCode → int
The hash code for this object.
no setterinherited
license → Input<LicenseContaineranalysisV1alpha1>?
Licenses that have been declared by the authors of the package.
final
maintainer → Input<String>?
A freeform text denoting the maintainer of this package.
final
name → Input<String>?
The name of the package.
final
packageType → Input<String>?
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → Input<String>?
The homepage for this package.
final
version → Input<VersionContaineranalysisV1alpha1>?
The version of the package.
final

Methods

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

Operators

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