createRenderViewModel method

  1. @override
RootRenderViewModel createRenderViewModel(
  1. RenderNode node,
  2. RenderContext<LoadInstanceContext> context
)
override

Implementation

@override
RootRenderViewModel createRenderViewModel(RenderNode node, RenderContext context) {
  return RootRenderViewModel(
    node.id,
    node.rootId,
    node.name,
    context,
    context.getInstance(node.id),
  );
}