copyWith method

InlinedEmbedContentResponses copyWith({
  1. Object? inlinedResponses = unsetCopyWithValue,
})

Creates a copy with replaced values.

Implementation

InlinedEmbedContentResponses copyWith({
  Object? inlinedResponses = unsetCopyWithValue,
}) {
  return InlinedEmbedContentResponses(
    inlinedResponses: inlinedResponses == unsetCopyWithValue
        ? this.inlinedResponses
        : inlinedResponses as List<InlinedEmbedContentResponse>?,
  );
}