operator [] abstract method

ViewModelInstance operator [](
  1. int index
)

Returns the view model instance at the specified index in the list.

Example:

final list = viewModelInstance.list("list");
final instance = list[2];

Throws a RangeError if the index is out of bounds.

Implementation

ViewModelInstance operator [](int index);