sendCommand method
sendCommand call the native method to write the transmit data
the argument message
will be transmit
Implementation
@override
Future<String?> sendCommand({required String message}) async {
final argument = {
"message": message,
};
final version = await methodChannel.invokeMethod<String>(
'embeddedSerial/send', argument);
return version;
}