toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  '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,
  'author': author,
  'status': status,
  'createdAt': createdAt,
  'updatedAt': updatedAt,
};