updateMenuItem abstract method
Updates a menu item's properties.
itemId is the identifier of the menu item to update.
title is the new title (null to keep current).
enabled is the new enabled state (null to keep current).
Returns true if the menu item was successfully updated.
Implementation
Future<bool> updateMenuItem({
required String itemId,
String? title,
bool? enabled,
});