init method
override
Initializes the connection to the device.
Implementation
@override
Future<bool> init() async {
_delegate = SerialPort(portName);
final result = _delegate!.openReadWrite();
final config = SerialPortConfig()..baudRate = baudRate;
_delegate!.config = config;
config.dispose();
return result;
}