read abstract method
Read data from the serial port.
The operation attempts to read N bytes
of data.
If timeout
is 0 or greater, the read operation is blocking.
The timeout is specified in milliseconds. Pass 0 to wait infinitely.
Implementation
Uint8List read(int bytes, {int timeout = -1});