remove method
- Object? value
inherited
Remove the class value
from element, and return true on successful
removal.
This is the Dart equivalent of jQuery's removeClass.
Implementation
bool remove(Object? value) {
if (value is! String) return false;
_validateToken(value);
Set<String> s = readClasses();
bool result = s.remove(value);
writeClasses(s);
return result;
}