macOS property

MacOSCodeConfig get macOS

Configuration provided when CodeConfig.targetOS is OS.macOS.

Implementation

MacOSCodeConfig get macOS => switch (_syntax.macOS) {
  null => throw StateError(
    'Cannot access macOSConfig if targetOS is not MacOS.',
  ),
  final c => MacOSCodeConfig._(c),
};