copyWith method

PageCreateRequest copyWith({
  1. String? spaceId,
  2. PageCreateRequestStatus? status,
  3. String? title,
  4. String? parentId,
  5. dynamic body,
})

Implementation

PageCreateRequest copyWith(
    {String? spaceId,
    PageCreateRequestStatus? status,
    String? title,
    String? parentId,
    dynamic body}) {
  return PageCreateRequest(
    spaceId: spaceId ?? this.spaceId,
    status: status ?? this.status,
    title: title ?? this.title,
    parentId: parentId ?? this.parentId,
    body: body ?? this.body,
  );
}