How can I add nested parameter for boolean if the condition is false?

I have a requirement to add the radio button in my custom app module if the condition is true the nested parameter is displaying but if the condition is false then also I want a nested parameter. How can I do?
Below is the code :
“name”: “dynamicAttributes”,
“type”: “boolean”,
“label”: “Dynamic Attributes”,
“nested”: [
{
“name”: “nestedField1”,
“type”: “text”,
“label”: “Nested Field 1”,
“visible”: “dynamicAttributes”
},
{
“name”: “nestedField2”,
“type”: “text”,
“label”: “Nested Field 2”,
“visible”: “!dynamicAttributes”
}
]
}

Hi All, I’m looking to make a field that is only displayed when another parameter is set to true. I have seen some similar topics all closed without a proper answer. I do know that it must be possible as I have seen it in other apps within make. Please help!