containsClass method
Returns true
if attribute class
has the className
.
Implementation
bool containsClass(String className) {
var attribute = getAttribute('class');
if (attribute == null) return false;
return attribute.containsValue(className);
}