LinuxDeviceInfo class

Implemented types

Constructors

LinuxDeviceInfo({required String name, String? version, required String id, List<String>? idLike, String? versionCodename, String? versionId, required String prettyName, String? buildId, String? variant, String? variantId, required String? machineId})
Constructs a LinuxDeviceInfo.

Properties

buildId String?
A string uniquely identifying the system image used as the origin for a distribution (it is not updated with system updates). The field can be identical between different versionIds as buildId is an only a unique identifier to a specific version.
final
data Map<String, dynamic>
Device information data Warning: The returned Map may not be JSON-encodable.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
id String
A lower-case string identifying the operating system, excluding any version information and suitable for processing by scripts or usage in generated filenames.
final
idLike List<String>?
A space-separated list of operating system identifiers in the same syntax as the id value. It lists identifiers of operating systems that are closely related to the local operating system in regards to packaging and programming interfaces, for example listing one or more OS identifiers the local OS is a derivative from.
final
machineId String?
A unique machine ID of the local system that is set during installation or boot. The machine ID is hexadecimal, 32-character, lowercase ID. When decoded from hexadecimal, this corresponds to a 16-byte/128-bit value.
final
name String
A string identifying the operating system, without a version component, and suitable for presentation to the user.
final
prettyName String
A pretty operating system name in a format suitable for presentation to the user. May or may not contain a release code name or OS version of some kind, as suitable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variant String?
A string identifying a specific variant or edition of the operating system suitable for presentation to the user. This field may be used to inform the user that the configuration of this system is subject to a specific divergent set of rules or default configuration settings.
final
variantId String?
A lower-case string identifying a specific variant or edition of the operating system. This may be interpreted in order to determine a divergent default configuration.
final
version String?
A string identifying the operating system version, excluding any OS name information, possibly including a release code name, and suitable for presentation to the user.
final
versionCodename String?
A lower-case string identifying the operating system release code name, excluding any OS name information or release version, and suitable for processing by scripts or usage in generated filenames.
final
versionId String?
A lower-case string identifying the operating system version, excluding any OS name information or release code name, and suitable for processing by scripts or usage in generated filenames.
final

Methods

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

Operators

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