offset method

Pipeline offset(
  1. int offset, {
  2. Map<String, Object?>? rawOptions,
})

Skips the first offset inputs.

Implementation

Pipeline offset(int offset, {Map<String, Object?>? rawOptions}) {
  if (offset < 0) {
    throw ArgumentError.value(offset, 'offset', 'must not be negative');
  }
  return _append(
    Stage(
      'offset',
      args: <pb.Value Function(PipelineEncoder)>[(_) => integerValue(offset)],
      rawOptions: rawOptions,
    ),
  );
}