write abstract method

Future<int> write(
  1. Uint8List bytes, {
  2. Duration? timeout,
})

Write data to the serial port.

Returns the amount of bytes written.

Implementation

Future<int> write(Uint8List bytes, {Duration? timeout});