isMacOS property
bool
isMacOS
Checks whether the device is macOS or not
Implementation
static bool get isMacOS =>
!isWeb && defaultTargetPlatform == TargetPlatform.macOS;
Checks whether the device is macOS or not
static bool get isMacOS =>
!isWeb && defaultTargetPlatform == TargetPlatform.macOS;