SdkHarnessContainerImage constructor

SdkHarnessContainerImage({
  1. String? containerImage,
  2. bool? useSingleCorePerContainer,
  3. String? environmentId,
  4. Iterable<String>? capabilities,
})

Implementation

factory SdkHarnessContainerImage({
  $core.String? containerImage,
  $core.bool? useSingleCorePerContainer,
  $core.String? environmentId,
  $core.Iterable<$core.String>? capabilities,
}) {
  final $result = create();
  if (containerImage != null) {
    $result.containerImage = containerImage;
  }
  if (useSingleCorePerContainer != null) {
    $result.useSingleCorePerContainer = useSingleCorePerContainer;
  }
  if (environmentId != null) {
    $result.environmentId = environmentId;
  }
  if (capabilities != null) {
    $result.capabilities.addAll(capabilities);
  }
  return $result;
}