isApple function

bool isApple([
  1. PlatformDetector? detector
])
  • isApple : true if the current platform's company is Apple.

Implementation

bool isApple([PlatformDetector? detector]) =>
    (detector?.company ?? PlatformDetector.platform.company) ==
    PlatformCompany.apple;