copyWith method
Input$AddPullRequestReviewInput
copyWith({
- String? body()?,
- String? clientMutationId()?,
- List<
Input$DraftPullRequestReviewComment?> ? comments()?, - String? commitOID()?,
- Enum$PullRequestReviewEvent? event()?,
- String? pullRequestId,
- List<
Input$DraftPullRequestReviewThread?> ? threads()?,
Implementation
Input$AddPullRequestReviewInput copyWith(
{String? Function()? body,
String? Function()? clientMutationId,
List<Input$DraftPullRequestReviewComment?>? Function()? comments,
String? Function()? commitOID,
Enum$PullRequestReviewEvent? Function()? event,
String? pullRequestId,
List<Input$DraftPullRequestReviewThread?>? Function()? threads}) =>
Input$AddPullRequestReviewInput(
body: body == null ? this.body : body(),
clientMutationId: clientMutationId == null
? this.clientMutationId
: clientMutationId(),
comments: comments == null ? this.comments : comments(),
commitOID: commitOID == null ? this.commitOID : commitOID(),
event: event == null ? this.event : event(),
pullRequestId:
pullRequestId == null ? this.pullRequestId : pullRequestId,
threads: threads == null ? this.threads : threads());