td_json_client_receive method
It will return null if timed out
Implementation
String? td_json_client_receive(int clientId, double timeout) {
Pointer<Utf8> raw = _nativeClient.td_json_client_receive(
Pointer.fromAddress(clientId), timeout);
// Native client may return nullptr (0x0)
if (raw.address == nullptr.address) {
return null;
}
return raw.toDartString();
}