addClass method

NodeBuilder addClass(
  1. String className
)

Implementation

NodeBuilder addClass(String className) => setClassesMapped(
    (classes) => classes.contains(className) ? classes : classes
      ..add(className));