windows top-level property

OperatingSystem windows
getter/setter pair

Implementation

OperatingSystem windows =
    OperatingSystem('Windows', (NavigatorProvider navigator) {
  return navigator.appVersion?.contains('Win') == true;
});