callAddClass method

  1. @override
Node? callAddClass(
  1. Node? target,
  2. List<String> classes
)
override

Implementation

@override
Node? callAddClass(Node? target, List<String> classes) {
  if (target is Element) {
    target.classes.addAll(classes);
  }
  return target;
}