apply method
Applies heuristic rule to a delete operation on a document
and returns
resulting Delta
.
Implementation
@override
Delta apply(Delta document, int index, int length) {
return Delta()
..retain(index)
..delete(length);
}
Applies heuristic rule to a delete operation on a document
and returns
resulting Delta
.
@override
Delta apply(Delta document, int index, int length) {
return Delta()
..retain(index)
..delete(length);
}