addAll method
Adds multiple buttons to the current row.
Implementation
InlineKeyboard addAll(List<InlineKeyboardButton> buttons) {
if (buttons.isEmpty) return this;
if (inlineKeyboard.isEmpty) {
return copyWith(inlineKeyboard: [buttons]);
}
final newKeyboard = [...inlineKeyboard];
newKeyboard.last = [...newKeyboard.last, ...buttons];
return copyWith(inlineKeyboard: newKeyboard);
}