isMacOS top-level property

bool isMacOS
final

Implementation

final isMacOS =
  defaultTargetPlatform == TargetPlatform.macOS;