copyWith method

Input$AddPullRequestReviewInput copyWith({
  1. String? body()?,
  2. String? clientMutationId()?,
  3. List<Input$DraftPullRequestReviewComment?>? comments()?,
  4. String? commitOID()?,
  5. Enum$PullRequestReviewEvent? event()?,
  6. String? pullRequestId,
  7. List<Input$DraftPullRequestReviewThread?>? threads()?,
})

Implementation

Input$AddPullRequestReviewInput copyWith(
        {String? Function()? body,
        String? Function()? clientMutationId,
        List<Input$DraftPullRequestReviewComment?>? Function()? comments,
        String? Function()? commitOID,
        Enum$PullRequestReviewEvent? Function()? event,
        String? pullRequestId,
        List<Input$DraftPullRequestReviewThread?>? Function()? threads}) =>
    Input$AddPullRequestReviewInput(
        body: body == null ? this.body : body(),
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        comments: comments == null ? this.comments : comments(),
        commitOID: commitOID == null ? this.commitOID : commitOID(),
        event: event == null ? this.event : event(),
        pullRequestId:
            pullRequestId == null ? this.pullRequestId : pullRequestId,
        threads: threads == null ? this.threads : threads());