isAppleOS property

bool get isAppleOS

Whether the current platform is Apple OS.

Implementation

bool get isAppleOS => Platform.isIOS || Platform.isMacOS;