selected property
bool
get
selected
Implementation
bool get selected => getAttributeValueAsBool('selected');
set
selected
(bool sel)
Implementation
set selected(bool sel) {
if (sel) {
setAttribute('selected', sel);
} else {
removeAttribute('selected');
}
}