Utsname class

Name and information about current kernel.

Annotations
  • @immutable

Constructors

Utsname({required String sysname, required String nodename, required String release, required String version, required String machine, required String domain})
Constructs a new Utsname instance.
const

Properties

domain String
NIS or YP domain name
final
hashCode int
The hash code for this object.
no setteroverride
machine String
Hardware identifier
final
nodename String
Name within "some implementation-defined network"
final
release String
Operating system release (e.g., "2.6.28")
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sysname String
Operating system name (e.g., "Linux")
final
version String
Operating system version
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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