usb_serial
usb_serial
UsbPort
close method
close
UsbPort class
Constructors
UsbPort
Properties
inputStream
hashCode
runtimeType
Methods
close
open
setDTR
setFlowControl
setPortParameters
setRTS
write
noSuchMethod
toString
Operators
operator ==
Constants
DATABITS_5
DATABITS_6
DATABITS_7
DATABITS_8
FLOW_CONTROL_DSR_DTR
FLOW_CONTROL_OFF
FLOW_CONTROL_RTS_CTS
FLOW_CONTROL_XON_XOFF
PARITY_MARK
PARITY_NONE
PARITY_ODD
PARITY_SPACE
STOPBITS_1
STOPBITS_1_5
STOPBITS_2
close method
Future
<
bool
>
close
(
)
Closes the com port.
Implementation
Future<bool> close() async { return await _channel.invokeMethod("close"); }