shift property

Placement get shift

Implementation

Placement get shift {
  if (isBottom || isRight) {
    return Placement.values[index - 3];
  }
  if (isTop || isLeft) {
    return Placement.values[index + 3];
  }
  return this;
}