callSetClass method

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

Implementation

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