copyWith method

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

Implementation

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