agentSdkHostPlatform top-level property

  1. @visibleForTesting
String? get agentSdkHostPlatform

The platform suffix for the machine this Dart process is running on.

A test seam: the installer verifies against the platform of the Node it installs with, which is not necessarily this process's, so only the suites — checking a payload on the machine that built it — ask this.

Implementation

@visibleForTesting
String? get agentSdkHostPlatform => agentSdkPlatformFor(
  operatingSystem: Platform.operatingSystem,
  isArm64: Platform.version.contains('arm64'),
);