removeMenuItem method
Removes the menuItem
from the list.
Returns true
if it was in the list, false
otherwise.
If the browser is already open,
it will take effect the next time it is opened.
Officially Supported Platforms/Implementations:
- Android
- iOS 14.0+
- macOS 10.15+
Implementation
@override
bool removeMenuItem(InAppBrowserMenuItem menuItem) {
return _menuItems.remove(menuItem.id) != null;
}