canGoPrevItem method

bool canGoPrevItem()

Есть ли в списке элементы до текущего

Implementation

bool canGoPrevItem() {
  var index = items.indexOf(currentItem);
  return index > 0;
}