isWindows property

bool get isWindows

Returns true if the current platform is Windows.

Implementation

bool get isWindows => platform == TargetPlatform.windows;