copyWith method
Implementation
Input$CreatePullRequestInput copyWith(
{String? baseRefName,
String? Function()? body,
String? Function()? clientMutationId,
bool? Function()? draft,
String? headRefName,
bool? Function()? maintainerCanModify,
String? repositoryId,
String? title}) =>
Input$CreatePullRequestInput(
baseRefName: baseRefName == null ? this.baseRefName : baseRefName,
body: body == null ? this.body : body(),
clientMutationId: clientMutationId == null
? this.clientMutationId
: clientMutationId(),
draft: draft == null ? this.draft : draft(),
headRefName: headRefName == null ? this.headRefName : headRefName,
maintainerCanModify: maintainerCanModify == null
? this.maintainerCanModify
: maintainerCanModify(),
repositoryId: repositoryId == null ? this.repositoryId : repositoryId,
title: title == null ? this.title : title);