addEdit method
Adds edit to the FileEdit for the given file.
If insertBeforeExisting is true, inserts made at the same offset as
other edits will be inserted such that they appear before them in the
resulting document.
Implementation
void addEdit(
String file,
int fileStamp,
SourceEdit edit, {
bool insertBeforeExisting = false,
}) => addEditToSourceChange(
this,
file,
fileStamp,
edit,
insertBeforeExisting: insertBeforeExisting,
);