getSkip method

int getSkip(
  1. int minSkip
)

Gets the number of items to skip.

  • minSkip the minimum number of items to skip. Returns the number of items to skip.

Implementation

int getSkip(int minSkip) {
  if (skip == null) return minSkip;
  if (skip! < minSkip) return minSkip;
  return skip!;
}