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< ? digest, Input<DigestContaineranalysisV1alpha1> >List< ? distribution, Input<DistributionContaineranalysisV1alpha1> >LicenseContaineranalysisV1alpha1> ? license, Input<String> ? maintainer, Input<String> ? name, Input<String> ? packageType, Input<String> ? url, Input<VersionContaineranalysisV1alpha1> ? version}) -
Creates a new Package.
architectureThe CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.cpeUriThe cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.descriptionThe description of this package.digestHash value, typically a file digest, that allows unique identification a specific package.distributionThe various channels by which a package is distributed.licenseLicenses that have been declared by the authors of the package.maintainerA freeform text denoting the maintainer of this package.nameThe name of the package.packageTypeThe type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).urlThe homepage for this package.versionThe 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