Optionaldata: MenuFieldConfigsJsonOptional JSON object with choice and input config objects.
Returns the nested choice menu configs, or undefined if not configured.
Sets the nested choice configs from an instance or a plain JSON object.
MenuChoiceConfigs instance or compatible JSON.
Returns the nested input menu configs, or undefined if not configured.
Sets the nested input configs from an instance or a plain JSON object.
MenuInputConfigs instance or compatible JSON.
Serialises the configs to a plain JSON-compatible object.
Creates a new MenuFieldConfigs with optional choice and input config nesting.