clearRead method
clearRead will clear the read message all the previous RX data will be clear when you call this method
Implementation
@override
Future<String?> clearRead() async {
final version =
await methodChannel.invokeMethod<String>('embeddedSerial/clearRead');
return version;
}