FlutterSerialPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterSerialPlatform
Implementers

Constructors

FlutterSerialPlatform()
Constructs a FlutterSerialPlatform.

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

clearLog() → Future<String?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
clearRead() → Future<String?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
closePort() → Future<String?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
destroyResources() → Future<String?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
getAvailablePorts() → Future<List<String>?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openPort({required DataFormat dataFormat, required String serialPort, required int baudRate}) → Future<String?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
sendCommand({required String message}) → Future<String?>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
startSerial() → Stream<SerialResponse>
Thrown by operations that have not been implemented yet. a UnsupportedError all things considered. This mistake is just planned for use during improvement.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ FlutterSerialPlatform
The default instance of FlutterSerialPlatform to use.
getter/setter pair