copyWith method

ChildPage copyWith({
  1. dynamic id,
  2. String? status,
  3. String? title,
  4. dynamic spaceId,
  5. int? childPosition,
})

Implementation

ChildPage copyWith(
    {dynamic id,
    String? status,
    String? title,
    dynamic 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,
  );
}