askChoice abstract method

String askChoice(
  1. String question,
  2. List<String> options, {
  3. String? defaultValue,
})

Prompts to select one choice from options.

Implementation

String askChoice(
  String question,
  List<String> options, {
  String? defaultValue,
});