delete method

  1. @override
void delete(
  1. int index,
  2. int? length
)
override

Delete length characters of this node starting from index.

Implementation

@override
void delete(int index, int? length) {
  assert(isNotEmpty);
  final res = lookup(index);
  res.node!.delete(res.offset, length);
}