Distribution class

This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.

Constructors

Distribution({Input<DistributionArchitecture>? architecture, required Input<String> cpeUri, Input<String>? description, Input<Version>? latestVersion, Input<String>? maintainer, Input<String>? url})
Creates a new Distribution. architecture The CPU architecture for which packages in this distribution channel were built. cpeUri The cpe_uri in CPE format denoting the package manager version distributing a package. description The distribution channel-specific description of this package. latestVersion The latest available version of this package in this distribution channel. maintainer A freeform string denoting the maintainer of this package. url The distribution channel-specific homepage for this package.
const
Distribution.fromMap(Map<String, dynamic> map)
factory

Properties

architecture → Input<DistributionArchitecture>?
The CPU architecture for which packages in this distribution channel were built.
final
cpeUri → Input<String>
The cpe_uri in CPE format denoting the package manager version distributing a package.
final
description → Input<String>?
The distribution channel-specific description of this package.
final
hashCode → int
The hash code for this object.
no setterinherited
latestVersion → Input<Version>?
The latest available version of this package in this distribution channel.
final
maintainer → Input<String>?
A freeform string denoting the maintainer of this package.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → Input<String>?
The distribution channel-specific homepage for this 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