chore: format code
This commit is contained in:
parent
e5a651951d
commit
d3c7eb9de7
2 changed files with 40 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue