iOS property

IOSCodeConfig get iOS

Configuration provided when CodeConfig.targetOS is OS.macOS.

Implementation

IOSCodeConfig get iOS => switch (_syntax.iOS) {
  null => throw StateError('Cannot access iOSConfig if targetOS is not iOS.'),
  final c => IOSCodeConfig._(c),
};