goForward method
- DriveOrientation orientation
Implementation
GpsCoordinates goForward(DriveOrientation orientation) => this + switch(orientation) {
DriveOrientation.north => GpsUtils.north,
DriveOrientation.south => GpsUtils.south,
DriveOrientation.west => GpsUtils.west,
DriveOrientation.east => GpsUtils.east,
};