discontinuedPackage os_detect has been discontinued and replaced by platform.

isIOS property

bool get isIOS

Whether the operating system is a version of iOS.

Identified by id being the string ios.

Implementation

bool get isIOS => _osId is IOS;