INNER CODE UNIT · Dart

isWeb

jhomlala/catcher · lib/core/application_profile_manager.dart:23

  static bool isWeb() => kIsWeb;

  /// Check if current platform is android
  static bool isAndroid() => Platform.isAndroid;

  /// Check if current platform is ios
  static bool isIos() => Platform.isIOS;

  ///Check if current platform is linux
  static bool isLinux() => Platform.isLinux;

  ///Check if current platform is windows
  static bool isWindows() => Platform.isWindows;

  ///Check if current platform is macOS
  static bool isMacOS() => Platform.isMacOS;
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…