getSelectable method
Whether item
should be shown as selectable.
Implementation
@override
SelectableOption getSelectable(SelectionItemType item) {
for (final menuItem in this) {
if (menuItem.value == item) return menuItem.selectableState;
}
return SelectableOption.Selectable;
}