isSameMenu method
Implementation
bool isSameMenu(MenuProperties menu) {
return menu.id == id &&
menu.textEditingController == textEditingController &&
menu.onBackSpacePressed == onBackSpacePressed &&
menu.onEmojiSelected == onEmojiSelected &&
menu.onGifSelected == onGifSelected &&
menu.fromStack == fromStack;
}