firstOrNull abstract method

ViewModelInstance? firstOrNull()

Returns the first view model instance in the list, or null if the list is empty.

Example:

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

Implementation

ViewModelInstance? firstOrNull();