OperatingSystem class

The name and version of an operating system.

Available Extensions

Constructors

OperatingSystem(String id, String version)
Creates an operating system ID with the provided values.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
A string representing the operating system or platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
A string representing the version of the operating system or platform.
final

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

Static Properties

current OperatingSystem
The current operating system ID.
no setter