SystemInfo class
Class for handling general system information
Constructors
- SystemInfo()
-
Empty constructor, this loads all the information from
/proc/version
and from/etc/os-release
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kernel_name ↔ String
-
Current kernel name, e.g.:
Linux
getter/setter pair - kernel_version ↔ String
-
Current kernel version, e.g.:
5.11.0-16-generic
getter/setter pair - os_name ↔ String
-
Current os name, e.g.:
Ubuntu
getter/setter pair -
os_release
↔ Map<
String, String> -
A parsing of
/etc/os-release
containing information like the distro codename and homepagegetter/setter pair - os_version ↔ String
-
Current os version, e.g.:
21.04
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited