chore: format code

This commit is contained in:
fiatcode 2026-02-24 10:56:30 +07:00
parent e5a651951d
commit d3c7eb9de7
2 changed files with 40 additions and 10 deletions

View file

@ -61,9 +61,9 @@ class Rover {
required String direction,
int plateauWidth = 100,
int plateauHeight = 100,
}) : _position = Position(x, y),
_direction = Direction.fromCode(direction),
plateau = Plateau(plateauWidth, plateauHeight);
}) : _position = Position(x, y),
_direction = Direction.fromCode(direction),
plateau = Plateau(plateauWidth, plateauHeight);
int get x => _position.x;
int get y => _position.y;