dispatchUIFunction method

void dispatchUIFunction(
  1. int instanceId,
  2. int id,
  3. String funcName,
  4. VoltronArray array,
  5. Promise promise,
)

Implementation

void dispatchUIFunction(
  int instanceId,
  int id,
  String funcName,
  VoltronArray array,
  Promise promise,
) {
  var renderNode = controllerManager.findNode(instanceId, id);
  if (renderNode != null) {
    renderNode.dispatchUIFunction(funcName, array, promise);
    addNullUINodeIfNeeded(renderNode);
  } else {
    LogUtils.e(_kTag, "dispatchUIFunction Node Null");
  }
}