createRenderViewModel method
ListItemViewModel
createRenderViewModel(
- ListItemRenderNode node,
- RenderContext<
LoadInstanceContext> context
override
Implementation
@override
ListItemViewModel createRenderViewModel(
ListItemRenderNode node,
RenderContext context,
) {
return ListItemViewModel(
node.id,
node.rootId,
node.name,
node.shouldSticky,
context,
);
}