toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'filePath': filePath,
      'line': line,
      'column': column,
      if (lineContent != null) 'lineContent': lineContent,
      if (surroundingContext != null)
        'surroundingContext': surroundingContext,
      if (resolvedType != null) 'resolvedType': resolvedType,
    };