items property

List<MenuItem> get items

MenuItems to add or update. They will be added in the order they exist in the array.

Implementation

List<MenuItem> get items => _wrapped.items.toDart
    .cast<$js.MenuItem>()
    .map((e) => MenuItem.fromJS(e))
    .toList();
set items (List<MenuItem> v)

Implementation

set items(List<MenuItem> v) {
  _wrapped.items = v.toJSArray((e) => e.toJS);
}