copyWith method

Input$CreateDeploymentInput copyWith({
  1. bool? autoMerge()?,
  2. String? clientMutationId()?,
  3. String? description()?,
  4. String? environment()?,
  5. String? payload()?,
  6. String? refId,
  7. String? repositoryId,
  8. List<String>? requiredContexts()?,
  9. String? task()?,
})

Implementation

Input$CreateDeploymentInput copyWith(
        {bool? Function()? autoMerge,
        String? Function()? clientMutationId,
        String? Function()? description,
        String? Function()? environment,
        String? Function()? payload,
        String? refId,
        String? repositoryId,
        List<String>? Function()? requiredContexts,
        String? Function()? task}) =>
    Input$CreateDeploymentInput(
        autoMerge: autoMerge == null ? this.autoMerge : autoMerge(),
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        description: description == null ? this.description : description(),
        environment: environment == null ? this.environment : environment(),
        payload: payload == null ? this.payload : payload(),
        refId: refId == null ? this.refId : refId,
        repositoryId: repositoryId == null ? this.repositoryId : repositoryId,
        requiredContexts: requiredContexts == null
            ? this.requiredContexts
            : requiredContexts(),
        task: task == null ? this.task : task());