copyWith method

ContentChildTypeExpandable copyWith({
  1. String? all,
  2. String? attachment,
  3. String? comment,
  4. String? page,
  5. String? whiteboard,
})

Implementation

ContentChildTypeExpandable copyWith(
    {String? all,
    String? attachment,
    String? comment,
    String? page,
    String? whiteboard}) {
  return ContentChildTypeExpandable(
    all: all ?? this.all,
    attachment: attachment ?? this.attachment,
    comment: comment ?? this.comment,
    page: page ?? this.page,
    whiteboard: whiteboard ?? this.whiteboard,
  );
}