windows top-level property Null safety

OperatingSystem windows
read / write

Implementation

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