sendMessage method
Sends message from client to server and vice versa, byte by byte or as a data stream
Implementation
Future<bool> sendMessage(String? message, {bool? sendByteByByte}) async {
bool result = await _channel.invokeMethod('sendMessage', {
"message": message ?? "",
"sendByteByByte": sendByteByByte ?? false,
});
return result ?? false;
}