getRealItemCount method

int? getRealItemCount()

Implementation

int? getRealItemCount() {
  if (itemCount == 0) return 0;
  return loop ? itemCount + kMaxValue : itemCount;
}