MethodChannelSerialCom class
An implementation of SerialComPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SerialComPlatform
- MethodChannelSerialCom
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String port, int baudRate) → Future< bool> -
override
-
disconnect(
) → Future< bool> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
isConnected(
) → Future< bool> -
override
-
listDevices(
) → Future< List< Device> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< Uint8List> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data) → Future< bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited