Google celebrates Hispanic Heritage Month. See how.

getCompleter method

Completer getCompleter (int txid)

Returns the completer associated with the given response message.

Used by subclasses of AsyncProxy<T> to retrieve registered completers when handling response messages.


Completer? getCompleter(int txid) {
  final Completer? result = _completerMap.remove(txid);
  if (result == null) {
    proxyError(FidlError('Message had unknown request id: $txid'));
  return result;