copyWith method

ChildCustomContent copyWith({
  1. String? id,
  2. String? status,
  3. String? title,
  4. String? type,
  5. String? spaceId,
})

Implementation

ChildCustomContent copyWith(
    {String? id,
    String? status,
    String? title,
    String? type,
    String? spaceId}) {
  return ChildCustomContent(
    id: id ?? this.id,
    status: status ?? this.status,
    title: title ?? this.title,
    type: type ?? this.type,
    spaceId: spaceId ?? this.spaceId,
  );
}