isMacOS property

bool isMacOS

True if you are running on a Mac.

Implementation

bool get isMacOS => overriddenPlatform == null
    ? Platform.isMacOS
    : overriddenPlatform == DCliPlatformOS.macos;