createRenderViewModel method

  1. @override
ListItemViewModel createRenderViewModel(
  1. ListItemRenderNode node,
  2. RenderContext<LoadInstanceContext> context
)
override

Implementation

@override
ListItemViewModel createRenderViewModel(
  ListItemRenderNode node,
  RenderContext context,
) {
  return ListItemViewModel(
    node.id,
    node.rootId,
    node.name,
    node.shouldSticky,
    context,
  );
}