PlatformOs enum

The operating system Chrome is running on.

Inheritance
Available extensions

Values

mac → const PlatformOs

Specifies the MacOS operating system.

const PlatformOs('mac')
win → const PlatformOs

Specifies the Windows operating system.

const PlatformOs('win')
android → const PlatformOs

Specifies the Android operating system.

const PlatformOs('android')
cros → const PlatformOs

Specifies the Chrome operating system.

const PlatformOs('cros')
linux → const PlatformOs

Specifies the Linux operating system.

const PlatformOs('linux')
openbsd → const PlatformOs

Specifies the OpenBSD operating system.

const PlatformOs('openbsd')
fuchsia → const PlatformOs

Specifies the Fuchsia operating system.

const PlatformOs('fuchsia')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS String
no setter
value String
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 Methods

fromJS(String value) PlatformOs

Constants

values → const List<PlatformOs>
A constant List of the values in this enum, in order of their declaration.