Destination constructor

Destination({
  1. CloudRun? cloudRun,
  2. String? cloudFunction,
  3. GKE? gke,
  4. String? workflow,
})

Implementation

factory Destination({
  CloudRun? cloudRun,
  $core.String? cloudFunction,
  GKE? gke,
  $core.String? workflow,
}) {
  final $result = create();
  if (cloudRun != null) {
    $result.cloudRun = cloudRun;
  }
  if (cloudFunction != null) {
    $result.cloudFunction = cloudFunction;
  }
  if (gke != null) {
    $result.gke = gke;
  }
  if (workflow != null) {
    $result.workflow = workflow;
  }
  return $result;
}