Parameters
- key
- The key of the toolbar item to update. This key should match the one used when the item was added.
- itemUpdate
- New settings for the toolbar item, which can include changes to its action, icon, text, and other properties.
Return Value
A task that represents the asynchronous operation of updating the toolbar item.