windows constant Null safety

String const windows

A string constant to compare with operatingSystem to see if the platform is Windows.

Useful in case statements when switching on operatingSystem.

To just check if the platform is Windows, use isWindows.

Implementation

static const String windows = 'windows';