copyWith method
BlogPostUpdateRequest
copyWith({
- String? id,
- BlogPostUpdateRequestStatus? status,
- String? title,
- String? spaceId,
- dynamic body,
- BlogPostUpdateRequestVersion? version,
Implementation
BlogPostUpdateRequest copyWith(
{String? id,
BlogPostUpdateRequestStatus? status,
String? title,
String? spaceId,
dynamic body,
BlogPostUpdateRequestVersion? version}) {
return BlogPostUpdateRequest(
id: id ?? this.id,
status: status ?? this.status,
title: title ?? this.title,
spaceId: spaceId ?? this.spaceId,
body: body ?? this.body,
version: version ?? this.version,
);
}