isMacOS static method

bool isMacOS()

Check if current platform is macOS

Implementation

static bool isMacOS() => !kIsWeb && Platform.isMacOS;