paragraph method

DialogBuilder paragraph(
  1. String customId,
  2. dynamic fn(
    1. DialogParagraphInput
    )
)

Implementation

DialogBuilder paragraph(String customId, Function(DialogParagraphInput) fn) {
  final element = DialogElementBuilder.paragraph(customId);
  fn(element);

  final row = RowBuilder()..addComponent(element);

  _elements.add(row);
  return this;
}