createRenderViewModel method

  1. @override
ModalRenderViewModel createRenderViewModel(
  1. ModalRenderNode node,
  2. RenderContext<LoadInstanceContext> context
)
override

Implementation

@override
ModalRenderViewModel createRenderViewModel(ModalRenderNode node, RenderContext context) {
  return ModalRenderViewModel(
    id: node.id,
    className: node.name,
    instanceId: node.rootId,
    context: context,
  );
}