apply method

Delta? apply(
  1. Document document,
  2. int index, {
  3. int? len,
  4. Object? data,
  5. Attribute? attribute,
})

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,
  );
}