InMemoryTerminal constructor

InMemoryTerminal({
  1. bool interactive = true,
  2. List<String> input = const <String>[],
})

Creates a terminal fake.

Implementation

InMemoryTerminal({
  this.interactive = true,
  List<String> input = const <String>[],
}) : _input = Queue<String>.of(input);