copyWith method
Implementation
ChildPage copyWith(
{String? id,
String? status,
String? title,
String? spaceId,
int? childPosition}) {
return ChildPage(
id: id ?? this.id,
status: status ?? this.status,
title: title ?? this.title,
spaceId: spaceId ?? this.spaceId,
childPosition: childPosition ?? this.childPosition,
);
}