key property

String get key

A canonical platform key used to look up download URLs in remote metadata: web, android, ios, windows, macos, linux.

Implementation

String get key {
  if (isWeb) return 'web';
  if (isAndroid) return 'android';
  if (isIOS) return 'ios';
  if (isWindows) return 'windows';
  if (isMacOS) return 'macos';
  return 'linux';
}