isMacOS property
bool
get
isMacOS
True if the app is running on macos
Implementation
static bool get isMacOS => type == PlatformType.macOS;
True if the app is running on macos
static bool get isMacOS => type == PlatformType.macOS;