StdinService class
Service to simulate stdin. Use it in unit tests.
Constructors
- StdinService({bool mock = false, StdoutService? informStdout, dynamic isTest})
- 
          The default and only constructor where you can optionally indicate
whether you want mockstdin andinformStdout
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- informStdout ↔ StdoutService?
- 
  The stdout which should be informed if stdin is received in echoMode.
echoMode means that you see that the user sees what he/her is typing. See here.
  getter/setter pair
- mock ↔ bool
- 
  Indicates whether this is a mock service.
Being a mock service means here that it does not really read stdin
but gets it´s input from an internal buffer which is filled with addToBuffer
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  addToBuffer(dynamic elements) → void 
- Use this to simulate stdin.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  readByteSync() → int? 
- Use this to read a byte, whether in mock mode or with real stdin.
- 
  readLineSync({dynamic encoding}) → String? 
- Use this to read a whole line, whether in mock mode or with real stdin.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited