configureArtifactTransport function
Selects artifact transport from the execution mode chosen by the entry point. The compile-time value remains a fallback for standalone helpers.
Implementation
void configureArtifactTransport(ExecutionMode mode) {
_configuredDeviceArtifactTransport = mode == ExecutionMode.integration;
}