OperatingSystem enum

Operating system where the current browser runs.

Taken from the navigator platform. developer.mozilla.org/en-US/docs/Web/API/NavigatorID/platform

Inheritance

Values

iOs → const OperatingSystem

iOS: www.apple.com/ios/

android → const OperatingSystem

Android: www.android.com/

linux → const OperatingSystem

Linux: www.linux.org/

windows → const OperatingSystem

Windows: www.microsoft.com/windows/

macOs → const OperatingSystem

MacOs: www.apple.com/macos/

unknown → const OperatingSystem

We were unable to detect the current operating system.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

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