offset method

LipList offset(
  1. int start, [
  2. int end = 0
])

Sets the start and end offset for the list.

This allows showing a subset of items. Negative end values count from the end of the list.

list.offset(1, -1)  // Skip first and last items

Implementation

LipList offset(int start, [int end = 0]) {
  _tree.offset(start, end);
  return this;
}