build method
Returns built response for api
Implementation
@override
RawApiMap build(INyxx client) => {
...super.build(client),
if (this.components != null) "components": [
for (final row in this.components!)
{
"type": ComponentType.row.value,
"components": [
for (final component in row)
component.build()
]
}
]
};