openPort method

Future<String?> openPort({
  1. required DataFormat dataFormat,
  2. required String serialPort,
  3. required int baudRate,
})

Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.

Implementation

Future<String?> openPort(
    {required DataFormat dataFormat,
    required String serialPort,
    required int baudRate}) {
  throw UnimplementedError('openSerial() has not been implemented.');
}