DVSerialConnection class
An open serial port.
Constructors
- DVSerialConnection(int handle, String path)
-
const
Properties
Methods
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
{int max = 4096, Duration timeout = const Duration(seconds: 1)}) → Future< Uint8List> -
Waits up to
timeoutfor bytes and returns what arrived. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List bytes) → Future< int> -
Writes
bytesand returns how many the device took.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited