td_receive method

String? td_receive(
  1. double timeout
)

It will return null if timed out

Implementation

String? td_receive(double timeout) {
  Pointer<Utf8> raw = _nativeClient.td_receive(timeout);
  if (raw.address == nullptr.address) {
    return null;
  }
  return raw.toDartString();
}