Reads a line of user input after writing prompt; null when the host cannot prompt (commands then assume a non-interactive default).
prompt
null
final Future<String> Function(String prompt)? readLine;