isIOSApp function

bool isIOSApp([
  1. PlatformDetector? detector
])
  • isIOSApp : true if the current platform OS is iOS and this is an iOS Application.

Implementation

bool isIOSApp([PlatformDetector? detector]) =>
    (detector?.name ?? PlatformDetector.platform.name) == PlatformName.iOS;