copyWith method

GenerativeSummary copyWith({
  1. LocalizedText? overview,
  2. String? overviewFlagContentUri,
  3. LocalizedText? description,
  4. String? descriptionFlagContentUri,
  5. References? references,
})

Implementation

GenerativeSummary copyWith({
  LocalizedText? overview,
  String? overviewFlagContentUri,
  LocalizedText? description,
  String? descriptionFlagContentUri,
  References? references,
}) {
  return GenerativeSummary(
    overview: overview ?? this.overview,
    overviewFlagContentUri:
        overviewFlagContentUri ?? this.overviewFlagContentUri,
    description: description ?? this.description,
    descriptionFlagContentUri:
        descriptionFlagContentUri ?? this.descriptionFlagContentUri,
    references: references ?? this.references,
  );
}