Direction constructor

const Direction(
  1. int x,
  2. int y
)

Implementation

const Direction(this.x, this.y);