add method
Adds the given Edit
to the list.
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 add(SourceEdit edit, {bool insertBeforeExisting = false}) =>
addEditForSource(this, edit, insertBeforeExisting: insertBeforeExisting);