copyWith method
PageCommentModel
copyWith({
- dynamic id,
- String? status,
- String? title,
- dynamic pageId,
- Version? version,
- BodyBulk? body,
- CommentLinks? links,
Implementation
PageCommentModel copyWith(
{dynamic id,
String? status,
String? title,
dynamic pageId,
Version? version,
BodyBulk? body,
CommentLinks? links}) {
return PageCommentModel(
id: id ?? this.id,
status: status ?? this.status,
title: title ?? this.title,
pageId: pageId ?? this.pageId,
version: version ?? this.version,
body: body ?? this.body,
links: links ?? this.links,
);
}