createVirtualNode method

VirtualNode? createVirtualNode(
  1. int id,
  2. int pid,
  3. int index,
  4. String className,
  5. VoltronMap props,
)

Implementation

VirtualNode? createVirtualNode(
  int id,
  int pid,
  int index,
  String className,
  VoltronMap props,
) {
  var controller = findController(className);
  if (controller != null) {
    return controller.createVirtualNode(
      id,
      pid,
      index,
      className,
      props,
    );
  }
  return null;
}