SerialComPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- SerialComPlatform
- Implementers
Constructors
- SerialComPlatform()
- Constructs a SerialComPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String port, int baudRate) → Future< bool> -
disconnect(
) → Future< bool> -
getPlatformVersion(
) → Future< String?> -
isConnected(
) → Future< bool> -
listDevices(
) → Future< List< Device> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< Uint8List> -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SerialComPlatform
-
The default instance of SerialComPlatform to use.
getter/setter pair