setRts method
Drive the RTS (Request To Send) modem control line.
Implementation
@override
Future<void> setRts(bool active) async {
if (!isOpen) throw StateError('LibserialportSerialTransport not open');
_check(
_bindings.spSetRts(_port!, active ? SpSignal.high : SpSignal.low),
'sp_set_rts',
);
}