chooseOne<T> abstract method
T
chooseOne<T>(})
Prompts user to select one choice from choices.
Implementation
T chooseOne<T>(String message,
{required List<T> choices, T? defaultValue, String Function(T)? display});