isIOS property

bool isIOS
final

Whether the operating system is a version of iOS.

Implementation

@pragma("vm:platform-const")
static final bool isIOS = (operatingSystem == "ios");