copyWith method

ContentBodyCreate copyWith({
  1. String? value,
  2. ContentBodyCreateRepresentation? representation,
})

Implementation

ContentBodyCreate copyWith(
    {String? value, ContentBodyCreateRepresentation? representation}) {
  return ContentBodyCreate(
    value: value ?? this.value,
    representation: representation ?? this.representation,
  );
}