Position constructor
const
Position({
- required int x,
- required int y,
- required PositionType positionType,
Creates a Position with the given x
, y
, and positionType
.
Implementation
const Position({
required this.x,
required this.y,
required this.positionType,
});