readInput function Null safety

Future<String> readInput(
  1. String message,
  2. {bool secret = false,
  3. ResponseChecker? checker}
)

Implementation

Future<String> readInput(String message,
    {bool secret = false, ResponseChecker? checker}) {
  return Prompter(message, secret: secret).prompt(checker: checker);
}