isItemActive method

bool isItemActive(
  1. MenuItem item
)

Implementation

bool isItemActive(MenuItem item) => activeModel?.activeItem == item;