insert abstract method
Inserts a ViewModelInstance at the specified index in the list.
Returns true if the instance was inserted, false if the index was out of bounds.
Example:
final list = viewModelInstance.list("list");
list.insert(2, instance);
Throws a RangeError if the index is out of bounds.
Implementation
bool insert(
int index,
ViewModelInstance instance,
);