isWindows property

bool get isWindows

Whether the operating system is a version of Microsoft Windows. To override this property use windowsOverride.

Implementation

static bool get isWindows =>
    windowsOverride ?? !isWeb && io.Platform.isWindows;