copyWith method

BlogPostCreateRequest copyWith({
  1. String? spaceId,
  2. BlogPostCreateRequestStatus? status,
  3. String? title,
  4. dynamic body,
})

Implementation

BlogPostCreateRequest copyWith(
    {String? spaceId,
    BlogPostCreateRequestStatus? status,
    String? title,
    dynamic body}) {
  return BlogPostCreateRequest(
    spaceId: spaceId ?? this.spaceId,
    status: status ?? this.status,
    title: title ?? this.title,
    body: body ?? this.body,
  );
}