badge
A MenuItemBadge (optional) indicating the badge for the menu item.
This property can be dynamically changed; setting it to undefined removes the badge. Only available on macOS 14 and up.
Badges are not displayed in Dock menus, though the same item shows its badge in an application menu.