build method

  1. @override
RawApiMap build([
  1. AllowedMentions? defaultAllowedMentions
])

Implementation

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