ReviewComment class final
A single visual review comment anchored to a rendered page and source file.
Constructors
-
ReviewComment({required String id, required String site, required String pageUrl, required String pageTitle, required String sourceFile, required String resolvedFile, required int? startLine, required int? endLine, required String? codeSnippet, required String anchorType, required String selectedText, required String prefixContext, required String suffixContext, required String selector, required String elementTag, required String elementText, required String headingAnchor, required Map<
String, double> ? rectPct, required String comment, required String author, required String status, required String createdAt, required String updatedAt}) -
const
-
ReviewComment.fromJson(Map<
String, Object?> json) -
factory
Properties
- anchorType → String
-
final
-
final
- codeSnippet → String?
-
final
- comment → String
-
final
- createdAt → String
-
final
- elementTag → String
-
final
- elementText → String
-
final
- endLine → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headingAnchor → String
-
final
- id → String
-
final
- locationLabel → String
-
Formatted
file:startLine-endLinelabel for prompts and CLI output.no setter - pageTitle → String
-
final
- pageUrl → String
-
final
- prefixContext → String
-
final
-
rectPct
→ Map<
String, double> ? -
final
- resolvedFile → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedText → String
-
final
- selector → String
-
final
- site → String
-
final
- sourceFile → String
-
final
- startLine → int?
-
final
- status → String
-
final
- suffixContext → String
-
final
- updatedAt → String
-
final
Methods
-
copyWith(
{String? comment, String? status, String? updatedAt}) → ReviewComment -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited