isWindows top-level property

bool isWindows

Whether the test is running on the Windows operating system.

This does not include test compiled to JavaScript running in a browser on the Windows operating system.

Implementation

bool get isWindows {
  if (_kIsCompiledToJavaScript) {
    return false;
  }
  return Platform.isWindows;
}