operatingSystem property

  1. @visibleForTesting
String operatingSystem
getter/setter pair

Implementation

@visibleForTesting
// From `defaultTargetPlatform`, not `dart:io`'s `Platform`, so this file
// also compiles for the web (WASM included). Same values: android, ios,
// macos, windows, linux, fuchsia.
static String operatingSystem = defaultTargetPlatform.name.toLowerCase();