copyWith method

Input$UpdatePullRequestInput copyWith({
  1. List<String>? assigneeIds()?,
  2. String? baseRefName()?,
  3. String? body()?,
  4. String? clientMutationId()?,
  5. List<String>? labelIds()?,
  6. bool? maintainerCanModify()?,
  7. String? milestoneId()?,
  8. List<String>? projectIds()?,
  9. String? pullRequestId,
  10. Enum$PullRequestUpdateState? state()?,
  11. String? title()?,
})

Implementation

Input$UpdatePullRequestInput copyWith(
        {List<String>? Function()? assigneeIds,
        String? Function()? baseRefName,
        String? Function()? body,
        String? Function()? clientMutationId,
        List<String>? Function()? labelIds,
        bool? Function()? maintainerCanModify,
        String? Function()? milestoneId,
        List<String>? Function()? projectIds,
        String? pullRequestId,
        Enum$PullRequestUpdateState? Function()? state,
        String? Function()? title}) =>
    Input$UpdatePullRequestInput(
        assigneeIds: assigneeIds == null ? this.assigneeIds : assigneeIds(),
        baseRefName: baseRefName == null ? this.baseRefName : baseRefName(),
        body: body == null ? this.body : body(),
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        labelIds: labelIds == null ? this.labelIds : labelIds(),
        maintainerCanModify: maintainerCanModify == null
            ? this.maintainerCanModify
            : maintainerCanModify(),
        milestoneId: milestoneId == null ? this.milestoneId : milestoneId(),
        projectIds: projectIds == null ? this.projectIds : projectIds(),
        pullRequestId:
            pullRequestId == null ? this.pullRequestId : pullRequestId,
        state: state == null ? this.state : state(),
        title: title == null ? this.title : title());