isWindows property

bool get isWindows

True on Windows (false on web).

Implementation

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