removeClass method

  1. @override
bool removeClass(
  1. String? className
)
override

Removes className from this node classes.

Implementation

@override
bool removeClass(String? className) {
  if (isEmptyObject(className)) return false;
  if (isNodeElement) {
    return nodeAsElement!.classes.remove(className);
  }
  return false;
}