datasetToolCallDiffPreviewBlocksForTesting function
Implementation
@visibleForTesting
List<Map<String, Object?>> datasetToolCallDiffPreviewBlocksForTesting({
required String toolkit,
required String tool,
required Map<String, Object?>? arguments,
}) {
return [
for (final block in _toolCallDiffPreviewBlocks(toolkit: toolkit, tool: tool, arguments: arguments))
{'header': block.header, 'code': block.code, 'linesAdded': block.linesAdded, 'linesRemoved': block.linesRemoved},
];
}