blob: ad84a9a6eb88802fa25a621e6674fc5c5d6c6c42 [file] [log] [blame]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:web/web.dart';
import 'os_kind.dart' show BrowserOS;
import 'os_override.dart';
String get _osVersion => window.navigator.appVersion;
final OperatingSystem platformOS =
OperatingSystemInternal(const BrowserOS(), _osVersion);