bool remove(Object value)

Remove the class value from element, and return true on successful removal.

This is the Dart equivalent of jQuery's removeClass.

Source

bool remove(Object value) {
  _validateToken(value);
  if (value is! String) return false;
  Set<String> s = readClasses();
  bool result = s.remove(value);
  writeClasses(s);
  return result;
}