copyWith method

Input$MergePullRequestInput copyWith({
  1. String? authorEmail()?,
  2. String? clientMutationId()?,
  3. String? commitBody()?,
  4. String? commitHeadline()?,
  5. String? expectedHeadOid()?,
  6. Enum$PullRequestMergeMethod? mergeMethod()?,
  7. String? pullRequestId,
})

Implementation

Input$MergePullRequestInput copyWith(
        {String? Function()? authorEmail,
        String? Function()? clientMutationId,
        String? Function()? commitBody,
        String? Function()? commitHeadline,
        String? Function()? expectedHeadOid,
        Enum$PullRequestMergeMethod? Function()? mergeMethod,
        String? pullRequestId}) =>
    Input$MergePullRequestInput(
        authorEmail: authorEmail == null ? this.authorEmail : authorEmail(),
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        commitBody: commitBody == null ? this.commitBody : commitBody(),
        commitHeadline:
            commitHeadline == null ? this.commitHeadline : commitHeadline(),
        expectedHeadOid: expectedHeadOid == null
            ? this.expectedHeadOid
            : expectedHeadOid(),
        mergeMethod: mergeMethod == null ? this.mergeMethod : mergeMethod(),
        pullRequestId:
            pullRequestId == null ? this.pullRequestId : pullRequestId);