concatImmutable method

Rope concatImmutable(
  1. Rope other
)

Creates a new Rope by concatenating another Rope (immutable)

Implementation

Rope concatImmutable(Rope other) {
  var ropeCopy = _rope.copy();
  ropeCopy.insert(charIdx: BigInt.from(length), text: other.getText());
  return Rope._fromBridge(ropeCopy);
}