isMacOS property Null safety
final
Whether the operating system is a version of macOS.
Implementation
static final bool isMacOS = (_operatingSystem == "macos");
Whether the operating system is a version of macOS.
static final bool isMacOS = (_operatingSystem == "macos");