sendMessage method
Implementation
Future<dynamic> sendMessage(dynamic messageData) async {
Map<String, dynamic> messageObjc = jsonDecode(messageData);
String channelID = messageObjc["channelID"];
String message = messageObjc["message"];
await js.context.callMethod('eval', [
'Kommunicate.sendMessage({"goupId": "$channelID", "message": "$message"})'
]);
}