copyWith method

InlineCommentChildrenModel copyWith({
  1. dynamic id,
  2. String? status,
  3. String? title,
  4. dynamic parentCommentId,
  5. Version? version,
  6. BodyBulk? body,
  7. String? resolutionStatus,
  8. InlineCommentProperties? properties,
  9. CommentLinks? links,
})

Implementation

InlineCommentChildrenModel copyWith(
    {dynamic id,
    String? status,
    String? title,
    dynamic parentCommentId,
    Version? version,
    BodyBulk? body,
    String? resolutionStatus,
    InlineCommentProperties? properties,
    CommentLinks? links}) {
  return InlineCommentChildrenModel(
    id: id ?? this.id,
    status: status ?? this.status,
    title: title ?? this.title,
    parentCommentId: parentCommentId ?? this.parentCommentId,
    version: version ?? this.version,
    body: body ?? this.body,
    resolutionStatus: resolutionStatus ?? this.resolutionStatus,
    properties: properties ?? this.properties,
    links: links ?? this.links,
  );
}