SerialPortInterface constructor

SerialPortInterface(
  1. String portName, {
  2. int baudRate = 9600,
})

Creates a serial port at the given name.

Implementation

SerialPortInterface(this.portName, {this.baudRate = 9600});