copyWith method

Input$AddPullRequestReviewThreadInput copyWith({
  1. String? body,
  2. String? clientMutationId()?,
  3. int? line,
  4. String? path,
  5. String? pullRequestId()?,
  6. String? pullRequestReviewId()?,
  7. Enum$DiffSide? side()?,
  8. int? startLine()?,
  9. Enum$DiffSide? startSide()?,
})

Implementation

Input$AddPullRequestReviewThreadInput copyWith(
        {String? body,
        String? Function()? clientMutationId,
        int? line,
        String? path,
        String? Function()? pullRequestId,
        String? Function()? pullRequestReviewId,
        Enum$DiffSide? Function()? side,
        int? Function()? startLine,
        Enum$DiffSide? Function()? startSide}) =>
    Input$AddPullRequestReviewThreadInput(
        body: body == null ? this.body : body,
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        line: line == null ? this.line : line,
        path: path == null ? this.path : path,
        pullRequestId:
            pullRequestId == null ? this.pullRequestId : pullRequestId(),
        pullRequestReviewId: pullRequestReviewId == null
            ? this.pullRequestReviewId
            : pullRequestReviewId(),
        side: side == null ? this.side : side(),
        startLine: startLine == null ? this.startLine : startLine(),
        startSide: startSide == null ? this.startSide : startSide());