transform method

void transform(
  1. Delta delta
)

It will override pre local undo delta,replaced by remote change

Implementation

void transform(Delta delta) {
  transformStack(stack.undo, delta);
  transformStack(stack.redo, delta);
}