readLine property
Source of a single line of input. Replaced in tests to drive a wizard.
Returning null means end-of-input, exactly as stdin.readLineSync does.
Implementation
static String? Function() readLine = () => stdin.readLineSync();
Source of a single line of input. Replaced in tests to drive a wizard.
Returning null means end-of-input, exactly as stdin.readLineSync does.
static String? Function() readLine = () => stdin.readLineSync();