dialog abstract method

Future<void> dialog(
  1. DialogBuilder dialog
)

Use to send a dialog to the interaction.

Usage:

final dialog = DialogBuilder('unique_custom_id')
  ..setTitle('Hello')
  ..text('hello', (input) => input
    ..setLabel('Hello')
    ..setPlaceholder('World');
  );

await interaction.dialog(dialog);

Implementation

Future<void> dialog(DialogBuilder dialog);