copyWith method
BlogPostCreateRequest
copyWith({
- String? spaceId,
- BlogPostCreateRequestStatus? status,
- String? title,
- 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,
);
}