isWindows property

bool get isWindows

Returns true if the platform is Windows.

Implementation

static bool get isWindows => DevicePlatformType.currentPlatformType == PlatformType.Windows;