setBoolean method
Implementation
void setBoolean(Object? value) {
if (!isBoolean) throw StateError('Not a boolean attribute');
setValue(value);
}
void setBoolean(Object? value) {
if (!isBoolean) throw StateError('Not a boolean attribute');
setValue(value);
}