iOS constant

String const iOS

A string constant to compare with operatingSystem to see if the platform is iOS.

Useful in case statements when switching on operatingSystem.

To just check if the platform is iOS, use isIOS.

Implementation

static const String iOS = 'ios';