copyWith method

PageBodyWrite copyWith({
  1. PageBodyWriteRepresentation? representation,
  2. String? value,
})

Implementation

PageBodyWrite copyWith(
    {PageBodyWriteRepresentation? representation, String? value}) {
  return PageBodyWrite(
    representation: representation ?? this.representation,
    value: value ?? this.value,
  );
}