toggleSelectedIcon method
Implementation
void toggleSelectedIcon(IconPickerIcon val) {
checkSelectedIconsList();
if (!_selectedIcons.contains(val)) {
_addSelectedIcon(val);
} else {
_removeSelectedIcon(val);
}
}
void toggleSelectedIcon(IconPickerIcon val) {
checkSelectedIconsList();
if (!_selectedIcons.contains(val)) {
_addSelectedIcon(val);
} else {
_removeSelectedIcon(val);
}
}