isMenuOpened method

bool isMenuOpened(
  1. String id
)

Implementation

bool isMenuOpened(String id) {
  return isOpened ? id == currentMenu!.id : false;
}