promptForValueInput method
Implementation
@override
Future<int> promptForValueInput(String message,
{int defaultValue = 0}) async {
stdout.write("$message (default: $defaultValue): ");
String input = stdin.readLineSync()!;
return input.isNotEmpty ? int.parse(input) : defaultValue;
}