addViewModel method
Implementation
@override
void addViewModel(RenderViewModel child, int index) {
if (child is ListPullHeaderViewModel) {
pullHeaderViewModel = child;
} else if (child is ListPullFooterViewModel) {
pullFooterViewModel = child;
}
super.addViewModel(child, index);
}