isGoogle function

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

Implementation

bool isGoogle([PlatformDetector? detector]) =>
    (detector?.company ?? PlatformDetector.platform.company) ==
    PlatformCompany.google;