confirm static method
Confirm the user's choice with an affirmative keywork or a negative keyword, mostly (yes/no).
Implementation
static Future<bool> confirm(
{String? prompt, List<String>? acceptedAffirmatives}) async =>
await confirmImpl(
prompt: prompt, acceptedAffirmatives: acceptedAffirmatives);