createRenderViewModel method

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

Implementation

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