addAll method

void addAll(
  1. Iterable<SourceEdit> edits, {
  2. bool insertBeforeExisting = false,
})

Adds the given Edits.

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 addAll(Iterable<SourceEdit> edits,
        {bool insertBeforeExisting = false}) =>
    addAllEditsForSource(this, edits,
        insertBeforeExisting: insertBeforeExisting);