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