copyWith method

SuggestedIssue copyWith({
  1. int? id,
  2. String? img,
  3. String? key,
  4. String? keyHtml,
  5. String? summary,
  6. String? summaryText,
})

Implementation

SuggestedIssue copyWith(
    {int? id,
    String? img,
    String? key,
    String? keyHtml,
    String? summary,
    String? summaryText}) {
  return SuggestedIssue(
    id: id ?? this.id,
    img: img ?? this.img,
    key: key ?? this.key,
    keyHtml: keyHtml ?? this.keyHtml,
    summary: summary ?? this.summary,
    summaryText: summaryText ?? this.summaryText,
  );
}