isAppleOS top-level property

bool get isAppleOS

Implementation

@pragma('vm:platform-const-if', !kDebugMode)
bool get isAppleOS =>
    defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.macOS;