copyWith method
ContentChildType
copyWith({
- ContentChildTypeAttachment? attachment,
- ContentChildTypeComment? comment,
- ContentChildTypePage? page,
- ContentChildTypeExpandable? expandable,
Implementation
ContentChildType copyWith(
{ContentChildTypeAttachment? attachment,
ContentChildTypeComment? comment,
ContentChildTypePage? page,
ContentChildTypeExpandable? expandable}) {
return ContentChildType(
attachment: attachment ?? this.attachment,
comment: comment ?? this.comment,
page: page ?? this.page,
expandable: expandable ?? this.expandable,
);
}