read method
Read from the device according to the given format format can be:
- "n" for number
- "a" for the entire content
- "l" for a line (default)
- "L" for a line including the end-of-line character
- A number for that many bytes
Implementation
@override
Future<ReadResult> read([String format = "l"]) async {
throw UnimplementedError("ConsoleOutputDevice does not support read");
}