add abstract method

void add(
  1. ViewModelInstance instance
)

Adds a ViewModelInstance to the end of the list.

Example:

final list = viewModelInstance.list("list");
list.add(instance);

Throws a RangeError if the index is out of bounds.

Implementation

void add(ViewModelInstance instance);