copyWith method

BlogPostBodyWrite copyWith({
  1. BlogPostBodyWriteRepresentation? representation,
  2. String? value,
})

Implementation

BlogPostBodyWrite copyWith(
    {BlogPostBodyWriteRepresentation? representation, String? value}) {
  return BlogPostBodyWrite(
    representation: representation ?? this.representation,
    value: value ?? this.value,
  );
}