confirm method

bool confirm(
  1. String message, {
  2. bool defaultValue = false,
})

Prompts the user for a boolean confirmation.

Implementation

bool confirm(String message, {bool defaultValue = false}) {
  return _logger.confirm(message, defaultValue: defaultValue);
}