receive method
Call td json receive, convert result to json object It will response null if receive empty string (timeout)
Implementation
Map<String, dynamic>? receive([double timeout = 10]) {
String? s = _rawClient.td_json_client_receive(clientId!, timeout);
if (s == null) {
return null;
}
Map<String, dynamic> j = json.decode(s);
return j;
}