isMacOS property
Returns true if the current platform is macOS.
Implementation
static bool get isMacOS =>
!kIsWeb && defaultTargetPlatform == TargetPlatform.macOS;
Returns true if the current platform is macOS.
static bool get isMacOS =>
!kIsWeb && defaultTargetPlatform == TargetPlatform.macOS;