shift method

Operation<Item> shift(
  1. int shiftAmount
)

Implementation

Operation<Item> shift(int shiftAmount) => Operation(
      type: type,
      index: index + shiftAmount,
      item: item,
    );