DelegateSerialPort class
A serial port implementation that delegates to package:libserialport
- Inheritance
 - 
    
- Object
 - Service
 - SerialPortInterface
 - DelegateSerialPort
 
 
Constructors
- DelegateSerialPort(String portName, {int baudRate = 9600})
 - 
          Creates a serial port that delegates to the 
libserialportpackage. 
Properties
- baudRate → int
 - 
  The baud rate to communicate with the Serial device.
  finalinherited
 - bytesAvailable → int
 - 
  How many bytes are available to be read.
  no setteroverride
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - isOpen → bool
 - 
  Whether this port is open.
  no setteroverride
 - portName → String
 - 
  The name of the port.
  finalinherited
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 
Methods
- 
  dispose(
{bool isSafe = true}) → Future< void>  - 
  Closes the connection to the device.
  override
 - 
  init(
) → Future< bool>  - 
  Initializes the connection to the device.
  override
 - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  onDisconnect(
) → Future< void>  - 
  A callback to run when the program has disconnected from the Dashboard.
  inherited
 - 
  read(
int count) → Uint8List  - 
  Reads the given number of bytes from the port.
  override
 - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 - 
  write(
Uint8List bytes) → void  - 
  Writes data to the port.
  override
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited