toggle method

void toggle()

Implementation

void toggle() {
  Debug().info(
      "Show Legacy Items: $_showingLegacyItems -> ${!_showingLegacyItems}");
  _showingLegacyItems = !_showingLegacyItems;
  notifyListeners();
}