DVSerialPort class

A serial port this machine has.

path is what to open. name is the stable name udev keeps for it, which is what an installation writes down: ttyUSB0 is whichever adapter was plugged in first, and changes when somebody unplugs two and puts them back in the other order.

Constructors

DVSerialPort({required String path, String? name})
const
DVSerialPort.fromMap(Map<Object?, Object?> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String?
final
path → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited