isIos method
Checks if the current app is running on the iOS ecosystem.
Implementation
bool isIos() {
if (platformState == PlatformState.IPAD) {
return true;
}
if (platformState == PlatformState.IPHONE) {
return true;
}
return false;
}