copyWith method

CustomContentBodyWrite copyWith({
  1. CustomContentBodyWriteRepresentation? representation,
  2. String? value,
})

Implementation

CustomContentBodyWrite copyWith(
    {CustomContentBodyWriteRepresentation? representation, String? value}) {
  return CustomContentBodyWrite(
    representation: representation ?? this.representation,
    value: value ?? this.value,
  );
}