addGenericFileEdit abstract method
Use the buildFileEdit
function to create a collection of edits to the
currently analyzed file. The edits will be added to the source change
that is being built.
The builder passed to the buildFileEdit
function has no special support
for any particular kind of file.
Use the customPath
if the collection of edits should be written to another
file.
Implementation
void addGenericFileEdit(
void Function(analyzer_plugin.FileEditBuilder builder) buildFileEdit, {
String? customPath,
});