isWindowsApp function
- isWindowsApp :
true
if the current platform OS is Windows and this is an Windows Application.
Implementation
// bool isWindowsApp = PlatformDetector.platform.name == PlatformName.windows;
bool isWindowsApp([PlatformDetector? detector]) =>
(detector?.name ?? PlatformDetector.platform.name) == PlatformName.windows;