description

# operatingSystem property

String operatingSystem
final

A string representing the operating system or platform.

Possible values include:

- "android"
- "fuchsia"
- "ios"
- "linux"
- "macos"
- "windows"

Note that this list may change over time so platform-specific logic should be guarded by the appropriate Boolean getter e.g. isMacOS.

## Implementation

    @pragma("vm:platform-const")
    @pragma("vm:shared")
    static final operatingSystem = _Platform.operatingSystem;