Keyboard.fromStdin constructor
- [Stdin? stdin]
Creates a new keyboard instance that reads from the standard input stream.
Implementation
factory Keyboard.fromStdin([io.Stdin? stdin]) {
return Keyboard.fromBuffer(BufferedKeys.fromStream(stdin ?? io.stdin));
}