getCallback method

Function getCallback (int txid)

Implementation

Function? getCallback(int txid) {
  final Function? result = _callbackMap.remove(txid);
  if (result == null) {
    proxyError('Message had unknown request id: $txid');
    return null;
  }
  return result;
}