isMacOS property Null safety

bool isMacOS
final

Whether the operating system is a version of macOS.

Implementation

static final bool isMacOS = (_operatingSystem == "macos");