isMacOS property

bool get isMacOS

Returns true if the current platform is macOS.

Implementation

static bool get isMacOS => GeneralPlatform.isMacOS;