first abstract method

Returns the first view model instance in the list.

Example:

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

Throws a RangeError if the list is empty.

Implementation

ViewModelInstance first();