copyWith method

PageUpdateRequest copyWith({
  1. String? id,
  2. PageUpdateRequestStatus? status,
  3. String? title,
  4. dynamic spaceId,
  5. dynamic parentId,
  6. dynamic body,
  7. PageUpdateRequestVersion? version,
})

Implementation

PageUpdateRequest copyWith(
    {String? id,
    PageUpdateRequestStatus? status,
    String? title,
    dynamic spaceId,
    dynamic parentId,
    dynamic body,
    PageUpdateRequestVersion? version}) {
  return PageUpdateRequest(
    id: id ?? this.id,
    status: status ?? this.status,
    title: title ?? this.title,
    spaceId: spaceId ?? this.spaceId,
    parentId: parentId ?? this.parentId,
    body: body ?? this.body,
    version: version ?? this.version,
  );
}