copyWith method

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,
  );
}