addSimpleInsertion abstract method

void addSimpleInsertion(
  1. int offset,
  2. String text
)

Add an insertion of the given text at the given offset. The offset is relative to the original source. This is fully equivalent to

addInsertion(offset, (EditBuilder builder) {
  builder.write(text);
});

Implementation

void addSimpleInsertion(int offset, String text);