isIOS top-level property Null safety

bool isIOS

Whether the current operating system is a version of iOS.

Identified by operatingSystem being the string ios.

Implementation

bool get isIOS => OperatingSystem.current.isIOS;