copyWith method

ReviewComment copyWith({
  1. String? comment,
  2. String? status,
  3. String? updatedAt,
})

Implementation

ReviewComment copyWith({
  String? comment,
  String? status,
  String? updatedAt,
}) => ReviewComment(
  id: id,
  site: site,
  pageUrl: pageUrl,
  pageTitle: pageTitle,
  sourceFile: sourceFile,
  resolvedFile: resolvedFile,
  startLine: startLine,
  endLine: endLine,
  codeSnippet: codeSnippet,
  anchorType: anchorType,
  selectedText: selectedText,
  prefixContext: prefixContext,
  suffixContext: suffixContext,
  selector: selector,
  elementTag: elementTag,
  elementText: elementText,
  headingAnchor: headingAnchor,
  rectPct: rectPct,
  comment: comment ?? this.comment,
  author: author,
  status: status ?? this.status,
  createdAt: createdAt,
  updatedAt: updatedAt ?? this.updatedAt,
);