SourceLocationResult typedef

SourceLocationResult = ({String? codeSnippet, int? endLine, String resolvedFile, int? startLine})

Resolved repository file path, 1-based line range, and surrounding snippet for a highlighted selection, widget, or element on a rendered page.

Implementation

typedef SourceLocationResult = ({
  String resolvedFile,
  int? startLine,
  int? endLine,
  String? codeSnippet,
});