isWindows property

bool get isWindows

Flag which determines whether current platform is Windows.

Implementation

static bool get isWindows => defaultTargetPlatform == TargetPlatform.windows;