SerialPort constructor
SerialPort(
- String name
Creates a serial port for name
.
Note: Call dispose() to release the resources after you're done with the serial port.
Implementation
factory SerialPort(String name) => _SerialPortImpl(name);