isOnIOS static method

bool isOnIOS()

Verifies if the app is running in iOS

Implementation

static bool isOnIOS() {
  return Platform.isIOS;
}