askYesNo static method

Future<bool> askYesNo(
  1. String question, {
  2. bool defaultValue = true,
})

Implementation

static Future<bool> askYesNo(String question, {bool defaultValue = true}) =>
    ConfirmPrompt.askYesNo(question, defaultValue: defaultValue);