withSelectMenu<T extends SelectMenuBuilder> method

void withSelectMenu<T extends SelectMenuBuilder>(
  1. T menu
)

Add a select menu to the component.

Implementation

void withSelectMenu<T extends SelectMenuBuilder> (T menu) {
  rows.add(RowBuilder([menu]));
}