supportsIosCpp property

bool get supportsIosCpp

True when only iOS uses direct C++ (not macOS).

Implementation

bool get supportsIosCpp => RegExp(
  r'\bios\s*:\s*(?:NativeImpl|AppleNativeImpl)\.cpp\b',
).hasMatch(_annotation);