apply method
Implementation
Delta? apply(
Document document,
int index, {
int? len,
Object? data,
Attribute? attribute,
}) {
validateArgs(len, data, attribute);
return applyRule(
document,
index,
len: len,
data: data,
attribute: attribute,
);
}