askBinary method

bool askBinary(
  1. String prompt
)

Implementation

bool askBinary(String prompt) {
  final input = _ask('$prompt (y/n)', []);

  return input.contains('y');
}