StdinService constructor

StdinService({
  1. bool mock = false,
  2. StdoutService? informStdout,
  3. dynamic isTest,
})

The default and only constructor where you can optionally indicate whether you want mock stdin and informStdout

Implementation

StdinService({this.mock = false, this.informStdout, isTest}) {
  if (isTest != null && isTest) {
    _isTest = true;
  }
}