newQuestion static method

String newQuestion(
  1. String question
)

Implementation

static String newQuestion(String question) {
  final dialog = CLI_Dialog();
  dialog.addQuestion(question, 'name');
  final anwers = dialog.ask();

  return anwers['name'];
}