applyRule method
Implementation
@override
Delta applyRule(Delta document, int index,
{int? len, Object? data, Attribute? attribute}) {
return Delta()
..retain(index + (len ?? 0))
..insert(data);
}
@override
Delta applyRule(Delta document, int index,
{int? len, Object? data, Attribute? attribute}) {
return Delta()
..retain(index + (len ?? 0))
..insert(data);
}