Distribution class
This represents a particular channel of distribution for a given package.
E.g., Debian's jessie-backports dpkg mirror.
Constructors
- Distribution({String? architecture, String? cpeUri, String? description, Version? latestVersion, String? maintainer, String? url})
- Distribution.fromJson(Map _json)
Properties
- architecture ↔ String?
-
The CPU architecture for which packages in this distribution channel were
built.
Possible string values are:
getter/setter pair
- cpeUri ↔ String?
-
The cpe_uri in CPE format denoting
the package manager version distributing a package.
getter/setter pair
- description ↔ String?
-
The distribution channel-specific description of this package.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestVersion ↔ Version?
-
The latest available version of this package in this distribution channel.
getter/setter pair
- maintainer ↔ String?
-
A freeform string denoting the maintainer of this package.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String?
-
The distribution channel-specific homepage for this package.
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