toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => <String, Object?>{
  'path': path,
  'content': content,
  'totalLines': totalLines,
  if (startLine != null) 'startLine': startLine,
  if (endLine != null) 'endLine': endLine,
  'truncated': truncated,
};