isMacOS property Null safety

bool isMacOS

True if the operating system is OS X.

Implementation

bool get isMacOS => operatingSystem == macOS;