build method

  1. @override
RawApiMap build()

Returns built response for api

Implementation

@override
RawApiMap build() => {
      "title": title,
      "custom_id": customId,
      if (componentRows.isNotEmpty) "components": [for (final row in componentRows) row.build()]
    };