direction property

Direction direction

Implementation

Direction get direction =>
    newIndex > oldIndex ? Direction.forward : Direction.backward;