Location class

An occurrence of a particular package installation found within a system's filesystem.

E.g., glibc was found in /var/lib/dpkg/status.

Constructors

Location({String? cpeUri, String? path, Version? version})
Location.fromJson(Map _json)

Properties

cpeUri String?
The CPE URI in CPE format denoting the package manager version distributing a package.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
path String?
The path from which we gathered that this package/version is installed.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version Version?
The version installed at this location.
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