SerialPortExtensions extension
- on
Properties
- readable → ReadableStream
-
no setter
- writable → WritableStream
-
no setter
Methods
-
close(
) → Future< void> - Closes the serial port.
-
getInfo(
) → SerialPortInfo -
open(
{required int baudRate, DataBits dataBits = DataBits.eight, StopBits stopBits = StopBits.one, Parity parity = Parity.none, int bufferSize = 255, FlowControl flowControl = FlowControl.none}) → Future< void> - Opens the serial port.