copyWith method

VersionedEntity copyWith({
  1. String? title,
  2. String? id,
  3. BodyBulk? body,
})

Implementation

VersionedEntity copyWith({String? title, String? id, BodyBulk? body}) {
  return VersionedEntity(
    title: title ?? this.title,
    id: id ?? this.id,
    body: body ?? this.body,
  );
}