build method
Implementation
@override
RawApiMap build([AllowedMentions? defaultAllowedMentions]) => {
...super.build(allowedMentions),
if (componentRows != null)
"components": [
for (final row in componentRows!)
{
"type": ComponentType.row.value,
"components": [for (final component in row) component.build()]
}
]
};