items property
Sets the item list, activating the first item, if the previously active item is not in the new list of items.
Note: As itemList
is not watched, items must be manually updated
on changes.
Implementation
@override
set items(_) {
throw UnsupportedError('ActiveMenuItemModel items can only be updated'
'by setting #menu');
}