copyWith method
Input$UpdatePullRequestInput
copyWith(
{ - List<String>? assigneeIds()?,
- String? baseRefName()?,
- String? body()?,
- String? clientMutationId()?,
- List<String>? labelIds()?,
- bool? maintainerCanModify()?,
- String? milestoneId()?,
- List<String>? projectIds()?,
- String? pullRequestId,
- Enum$PullRequestUpdateState? state()?,
- String? title()?,
})
Implementation
Input$UpdatePullRequestInput copyWith(
{List<String>? Function()? assigneeIds,
String? Function()? baseRefName,
String? Function()? body,
String? Function()? clientMutationId,
List<String>? Function()? labelIds,
bool? Function()? maintainerCanModify,
String? Function()? milestoneId,
List<String>? Function()? projectIds,
String? pullRequestId,
Enum$PullRequestUpdateState? Function()? state,
String? Function()? title}) =>
Input$UpdatePullRequestInput(
assigneeIds: assigneeIds == null ? this.assigneeIds : assigneeIds(),
baseRefName: baseRefName == null ? this.baseRefName : baseRefName(),
body: body == null ? this.body : body(),
clientMutationId: clientMutationId == null
? this.clientMutationId
: clientMutationId(),
labelIds: labelIds == null ? this.labelIds : labelIds(),
maintainerCanModify: maintainerCanModify == null
? this.maintainerCanModify
: maintainerCanModify(),
milestoneId: milestoneId == null ? this.milestoneId : milestoneId(),
projectIds: projectIds == null ? this.projectIds : projectIds(),
pullRequestId:
pullRequestId == null ? this.pullRequestId : pullRequestId,
state: state == null ? this.state : state(),
title: title == null ? this.title : title());